mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
feat: added more indent queries
This commit is contained in:
parent
72656dcf3c
commit
9184cf3953
15 changed files with 188 additions and 0 deletions
16
queries/cpp/indents.scm
Normal file
16
queries/cpp/indents.scm
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[
|
||||
(enumerator_list)
|
||||
(struct_specifier)
|
||||
(compound_statement)
|
||||
(case_statement)
|
||||
(condition_clause)
|
||||
(conditional_expression)
|
||||
] @indent
|
||||
|
||||
[
|
||||
(statement_identifier)
|
||||
"#ifdef"
|
||||
"#endif"
|
||||
"{"
|
||||
"}"
|
||||
] @branch
|
||||
Loading…
Add table
Add a link
Reference in a new issue