mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
27
runtime/queries/odin/indents.scm
Normal file
27
runtime/queries/odin/indents.scm
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[
|
||||
(block)
|
||||
(procedure_declaration)
|
||||
(overloaded_procedure_declaration)
|
||||
(enum_declaration)
|
||||
(union_declaration)
|
||||
(if_statement)
|
||||
(else_if_clause)
|
||||
(else_clause)
|
||||
(when_statement)
|
||||
(else_when_clause)
|
||||
(for_statement)
|
||||
(switch_case)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"}"
|
||||
")"
|
||||
"]"
|
||||
] @indent.branch @indent.end
|
||||
|
||||
[
|
||||
(comment)
|
||||
(block_comment)
|
||||
(string)
|
||||
(ERROR)
|
||||
] @indent.auto
|
||||
Loading…
Add table
Add a link
Reference in a new issue