mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
feat: add starlark
This commit is contained in:
parent
83e2e22d9e
commit
1641c4f3b4
8 changed files with 459 additions and 0 deletions
22
queries/starlark/folds.scm
Normal file
22
queries/starlark/folds.scm
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
(function_definition)
|
||||
|
||||
(for_statement)
|
||||
(if_statement)
|
||||
(while_statement)
|
||||
(with_statement)
|
||||
(match_statement)
|
||||
|
||||
(parameters)
|
||||
(argument_list)
|
||||
|
||||
(parenthesized_expression)
|
||||
(list_comprehension)
|
||||
(dictionary_comprehension)
|
||||
|
||||
(tuple)
|
||||
(list)
|
||||
(dictionary)
|
||||
|
||||
(string)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue