diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-08-02 06:05:25 -0700 |
|---|---|---|
| committer | 再生花 <hoangtun0810@gmail.com> | 2024-08-02 22:45:14 +0900 |
| commit | 09bad640e4507885fa0e7035348c7854c531b3d6 (patch) | |
| tree | 493565db453d3e8d3c7e9a85d3f1e7d4b99efbf0 /queries/query | |
| parent | bot(lockfile): update kotlin, nix, perl (diff) | |
| download | nvim-treesitter-09bad640e4507885fa0e7035348c7854c531b3d6.tar nvim-treesitter-09bad640e4507885fa0e7035348c7854c531b3d6.tar.gz nvim-treesitter-09bad640e4507885fa0e7035348c7854c531b3d6.tar.bz2 nvim-treesitter-09bad640e4507885fa0e7035348c7854c531b3d6.tar.lz nvim-treesitter-09bad640e4507885fa0e7035348c7854c531b3d6.tar.xz nvim-treesitter-09bad640e4507885fa0e7035348c7854c531b3d6.tar.zst nvim-treesitter-09bad640e4507885fa0e7035348c7854c531b3d6.zip | |
fix(query): proper indentation after quantifiers
Diffstat (limited to 'queries/query')
| -rw-r--r-- | queries/query/indents.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/queries/query/indents.scm b/queries/query/indents.scm index d1cdb3eef..5cea97e1e 100644 --- a/queries/query/indents.scm +++ b/queries/query/indents.scm @@ -12,7 +12,12 @@ "]" @indent.branch @indent.end -")" @indent.end +[ + ")" + "?" + "*" + "+" +] @indent.end ; Captures always mark the end of a node ; Because of that, mark it as indent.end |
