mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
parent
f16a775830
commit
4836c1df65
3 changed files with 9 additions and 1 deletions
|
|
@ -16,10 +16,12 @@
|
|||
|
||||
[
|
||||
"end"
|
||||
")"
|
||||
"}"
|
||||
] @indent.end
|
||||
|
||||
(")" @indent.end
|
||||
(#not-has-parent? @indent.end parameters))
|
||||
|
||||
(return_statement
|
||||
(expression_list
|
||||
(function_call))) @indent.dedent
|
||||
|
|
@ -39,3 +41,6 @@
|
|||
(comment) @indent.auto
|
||||
|
||||
(string) @indent.auto
|
||||
|
||||
(ERROR
|
||||
"function") @indent.begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue