mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat(lua)!: switch from our fork to MunifTanjim's (#2272)
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
This commit is contained in:
parent
668de0951a
commit
c80715f883
8 changed files with 189 additions and 206 deletions
|
|
@ -1,21 +1,20 @@
|
|||
[
|
||||
(function_definition)
|
||||
(function_declaration)
|
||||
(variable_declaration)
|
||||
(local_variable_declaration)
|
||||
(field)
|
||||
(local_function)
|
||||
(function)
|
||||
(do_statement)
|
||||
(while_statement)
|
||||
(repeat_statement)
|
||||
(if_statement)
|
||||
(for_statement)
|
||||
(for_in_statement)
|
||||
(repeat_statement)
|
||||
(return_statement)
|
||||
(while_statement)
|
||||
(table)
|
||||
(table_constructor)
|
||||
(arguments)
|
||||
(do_statement)
|
||||
] @indent
|
||||
|
||||
@ignore
|
||||
|
||||
[
|
||||
"end"
|
||||
"until"
|
||||
|
|
@ -24,8 +23,8 @@
|
|||
"("
|
||||
")"
|
||||
"then"
|
||||
(else)
|
||||
(elseif)
|
||||
(else_statement)
|
||||
(elseif_statement)
|
||||
] @branch
|
||||
|
||||
(comment) @ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue