mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
Fixup format (#5934)
* fix(format): newline between top-level field defs * fixup: newline between node and comment * fixup: optimize pattern
This commit is contained in:
parent
f5a839d1e8
commit
d198a75e2c
35 changed files with 47 additions and 3 deletions
|
|
@ -7,6 +7,7 @@
|
|||
(initializer_list)
|
||||
(init_declarator)
|
||||
] @indent.begin
|
||||
|
||||
; With current indent logic, if we capture expression_statement with @indent.begin
|
||||
; It will be affected by _parent_ node with error subnodes deep down the tree
|
||||
; So narrow indent capture to check for error inside expression statement only,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue