mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
indents(c): fix indentation on block comment
This commit is contained in:
parent
346366a330
commit
616dc885fc
5 changed files with 20 additions and 12 deletions
|
|
@ -38,7 +38,6 @@
|
|||
] @branch
|
||||
|
||||
[
|
||||
(comment)
|
||||
(preproc_arg)
|
||||
(string_literal)
|
||||
] @ignore
|
||||
|
|
@ -47,3 +46,8 @@
|
|||
(#set! "delimiter" "()"))
|
||||
([(argument_list) (parameter_list)] @aligned_indent
|
||||
(#set! "delimiter" "()"))
|
||||
|
||||
([ (ERROR) (comment) ] @aligned_indent
|
||||
(#lua-match? @aligned_indent "^/\*"))
|
||||
((comment) @ignore
|
||||
(#lua-match? @ignore "^//"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue