mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
fix(query): proper indentation after quantifiers
This commit is contained in:
parent
8453015093
commit
09bad640e4
3 changed files with 19 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue