mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua BREAKING CHANGE: queries are not compatible; modules will have to update
30 lines
379 B
Scheme
30 lines
379 B
Scheme
[
|
|
(function_definition)
|
|
(function_declaration)
|
|
(variable_declaration)
|
|
(field)
|
|
(do_statement)
|
|
(while_statement)
|
|
(repeat_statement)
|
|
(if_statement)
|
|
(for_statement)
|
|
(return_statement)
|
|
(table_constructor)
|
|
(arguments)
|
|
] @indent
|
|
|
|
@ignore
|
|
|
|
[
|
|
"end"
|
|
"until"
|
|
"{"
|
|
"}"
|
|
"("
|
|
")"
|
|
"then"
|
|
(else_statement)
|
|
(elseif_statement)
|
|
] @branch
|
|
|
|
(comment) @ignore
|