Add comment parsing and highlight whole bracket argument

This commit is contained in:
Uy Ha 2021-06-27 22:23:15 +02:00 committed by Stephan Seitz
parent 6a2ce27949
commit e121e52b2d

View file

@ -1,22 +1,27 @@
[ [
(quoted_argument) (quoted_argument)
(bracket_content) (bracket_argument)
] @string ] @string
(variable_ref) @variable (variable_ref) @variable
[
(bracket_comment)
(line_comment)
] @comment
[ [
"$ENV" "$ENV"
"$CACHE" "$CACHE"
] @variable.builtin ] @variable.builtin
(normal_command (identifier) @function) (normal_command (identifier) @function)
[ [
(function) (function)
(endfunction) (endfunction)
(macro) (macro)
(endmacro) (endmacro)
(message)
] @function ] @function
[ [