Update TS cpp, lua queries

This commit is contained in:
Andy K. Massimino
2021-05-02 20:02:31 -04:00
parent c2ee4d0d44
commit fb4ce0818a
3 changed files with 9 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ together with other plugins.
### Tree-sitter integration
_Note: Currently this feature is possible in neovim 0.5.5+ only._
_Note: Currently this feature is possible in neovim 0.5+ only._
match-up now has experimental support for language syntax provided
by tree-sitter. The list of supported languages is available

View File

@@ -1 +1,5 @@
; inherits: c
(template_parameter_list
"<" @open.template
">" @close.template) @scope.template

View File

@@ -12,14 +12,17 @@
"if" @open.if
"end" @close.if) @scope.if
(else "else" @mid.if.1)
(elseif "elseif" @mid.if.2)
(function
"function" @open.function
"end" @close.function) @scope.function
(local_function
"function" @open.function
"end" @close.function) @scope.function
(function_definition
"function" @open.function
"end" @close.function) @scope.function
(return_statement
"return" @mid.function.1)