mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 05:20:00 -04:00
fix(indent): lua - support @indent_end (#2454)
This commit is contained in:
parent
9f69999e2a
commit
11e7ee1d91
2 changed files with 8 additions and 0 deletions
|
|
@ -13,6 +13,10 @@
|
|||
(return_statement)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"end"
|
||||
] @indent_end
|
||||
|
||||
(return_statement
|
||||
(expression_list
|
||||
(function_call))) @dedent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue