mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
44
runtime/queries/robot/indents.scm
Normal file
44
runtime/queries/robot/indents.scm
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
(keyword_definition) @indent.begin
|
||||
|
||||
(test_case_definition) @indent.begin
|
||||
|
||||
(for_statement) @indent.begin
|
||||
|
||||
(for_statement
|
||||
"END" @indent.branch)
|
||||
|
||||
(for_statement
|
||||
right: (_
|
||||
(arguments
|
||||
(continuation
|
||||
(ellipses) @indent.branch))))
|
||||
|
||||
(while_statement) @indent.begin
|
||||
|
||||
(while_statement
|
||||
"END" @indent.branch)
|
||||
|
||||
(if_statement) @indent.begin
|
||||
|
||||
(if_statement
|
||||
(elseif_statement) @indent.branch)
|
||||
|
||||
(if_statement
|
||||
(else_statement) @indent.branch)
|
||||
|
||||
(if_statement
|
||||
"END" @indent.branch)
|
||||
|
||||
(try_statement) @indent.begin
|
||||
|
||||
(try_statement
|
||||
(except_statement) @indent.branch)
|
||||
|
||||
(try_statement
|
||||
(finally_statement) @indent.branch)
|
||||
|
||||
(try_statement
|
||||
(else_statement) @indent.branch)
|
||||
|
||||
(try_statement
|
||||
"END" @indent.branch)
|
||||
Loading…
Add table
Add a link
Reference in a new issue