lua: update to pull shebang fix

This commit is contained in:
Thomas Vigouroux 2020-11-25 21:26:31 +01:00
parent 9dd0e3b456
commit d5a8ff94cd
3 changed files with 5 additions and 3 deletions

View file

@ -6,6 +6,7 @@
(if_statement
[
"if"
"then"
"end"
] @conditional)
@ -110,7 +111,7 @@
(function [(function_name) (identifier)] @function)
(function ["function" "end"] @keyword.function)
(local_function [(function_name) (identifier)] @function)
(local_function (identifier) @function)
(local_function ["function" "end"] @keyword.function)
(function_definition ["function" "end"] @keyword.function)
@ -131,6 +132,7 @@
(string) @string
(number) @number
(label_statement) @label
(shebang) @comment
;; Error
(ERROR) @error