mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 12:27:42 +03:00
Update tree-sitter-lua and add textobjects for Lua (#3552)
This commit is contained in:
parent
68909dcef4
commit
a24fae3b3c
7 changed files with 74 additions and 49 deletions
10
runtime/queries/lua/folds.scm
Normal file
10
runtime/queries/lua/folds.scm
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
(do_statement)
|
||||
(while_statement)
|
||||
(repeat_statement)
|
||||
(if_statement)
|
||||
(for_statement)
|
||||
(function_declaration)
|
||||
(function_definition)
|
||||
(table_constructor)
|
||||
] @fold
|
Loading…
Add table
Add a link
Reference in a new issue