Regenerate nvim config
This commit is contained in:
42
config/neovim/store/nvim-treesitter/queries/lua/indents.scm
Normal file
42
config/neovim/store/nvim-treesitter/queries/lua/indents.scm
Normal file
@ -0,0 +1,42 @@
|
||||
[
|
||||
(function_definition)
|
||||
(function_declaration)
|
||||
(field)
|
||||
(do_statement)
|
||||
(method_index_expression)
|
||||
(while_statement)
|
||||
(repeat_statement)
|
||||
(if_statement)
|
||||
"then"
|
||||
(for_statement)
|
||||
(return_statement)
|
||||
(table_constructor)
|
||||
(arguments)
|
||||
(return_statement)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"end"
|
||||
")"
|
||||
"}"
|
||||
] @indent.end
|
||||
|
||||
(return_statement
|
||||
(expression_list
|
||||
(function_call))) @indent.dedent
|
||||
|
||||
[
|
||||
"end"
|
||||
"then"
|
||||
"until"
|
||||
"}"
|
||||
")"
|
||||
"elseif"
|
||||
(elseif_statement)
|
||||
"else"
|
||||
(else_statement)
|
||||
] @indent.branch
|
||||
|
||||
(comment) @indent.auto
|
||||
|
||||
(string) @indent.auto
|
||||
Reference in New Issue
Block a user