|
|
@ -41,39 +41,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
(function_arguments (identifier) @variable.parameter)
|
|
|
|
(function_arguments (identifier) @variable.parameter)
|
|
|
|
|
|
|
|
|
|
|
|
; Operators
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
"+"
|
|
|
|
|
|
|
|
".+"
|
|
|
|
|
|
|
|
"-"
|
|
|
|
|
|
|
|
".*"
|
|
|
|
|
|
|
|
"*"
|
|
|
|
|
|
|
|
".*"
|
|
|
|
|
|
|
|
"/"
|
|
|
|
|
|
|
|
"./"
|
|
|
|
|
|
|
|
"\\"
|
|
|
|
|
|
|
|
".\\"
|
|
|
|
|
|
|
|
"^"
|
|
|
|
|
|
|
|
".^"
|
|
|
|
|
|
|
|
"'"
|
|
|
|
|
|
|
|
".'"
|
|
|
|
|
|
|
|
"|"
|
|
|
|
|
|
|
|
"&"
|
|
|
|
|
|
|
|
"?"
|
|
|
|
|
|
|
|
"@"
|
|
|
|
|
|
|
|
"<"
|
|
|
|
|
|
|
|
"<="
|
|
|
|
|
|
|
|
">"
|
|
|
|
|
|
|
|
">="
|
|
|
|
|
|
|
|
"=="
|
|
|
|
|
|
|
|
"~="
|
|
|
|
|
|
|
|
"="
|
|
|
|
|
|
|
|
"&&"
|
|
|
|
|
|
|
|
"||"
|
|
|
|
|
|
|
|
":"
|
|
|
|
|
|
|
|
] @operator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Conditionals
|
|
|
|
; Conditionals
|
|
|
|
|
|
|
|
|
|
|
|
(if_statement [ "if" "end" ] @keyword.control.conditional)
|
|
|
|
(if_statement [ "if" "end" ] @keyword.control.conditional)
|
|
|
@ -106,12 +73,46 @@
|
|
|
|
(formatting_sequence) @constant.character.escape
|
|
|
|
(formatting_sequence) @constant.character.escape
|
|
|
|
(string) @string
|
|
|
|
(string) @string
|
|
|
|
(number) @constant.numeric.float
|
|
|
|
(number) @constant.numeric.float
|
|
|
|
|
|
|
|
(unary_operator ["+" "-"] @constant.numeric.float)
|
|
|
|
(boolean) @constant.builtin.boolean
|
|
|
|
(boolean) @constant.builtin.boolean
|
|
|
|
|
|
|
|
|
|
|
|
; Comments
|
|
|
|
; Comments
|
|
|
|
|
|
|
|
|
|
|
|
[ (comment) (line_continuation) ] @comment.line
|
|
|
|
[ (comment) (line_continuation) ] @comment.line
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Operators
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
"+"
|
|
|
|
|
|
|
|
".+"
|
|
|
|
|
|
|
|
"-"
|
|
|
|
|
|
|
|
".*"
|
|
|
|
|
|
|
|
"*"
|
|
|
|
|
|
|
|
".*"
|
|
|
|
|
|
|
|
"/"
|
|
|
|
|
|
|
|
"./"
|
|
|
|
|
|
|
|
"\\"
|
|
|
|
|
|
|
|
".\\"
|
|
|
|
|
|
|
|
"^"
|
|
|
|
|
|
|
|
".^"
|
|
|
|
|
|
|
|
"'"
|
|
|
|
|
|
|
|
".'"
|
|
|
|
|
|
|
|
"|"
|
|
|
|
|
|
|
|
"&"
|
|
|
|
|
|
|
|
"?"
|
|
|
|
|
|
|
|
"@"
|
|
|
|
|
|
|
|
"<"
|
|
|
|
|
|
|
|
"<="
|
|
|
|
|
|
|
|
">"
|
|
|
|
|
|
|
|
">="
|
|
|
|
|
|
|
|
"=="
|
|
|
|
|
|
|
|
"~="
|
|
|
|
|
|
|
|
"="
|
|
|
|
|
|
|
|
"&&"
|
|
|
|
|
|
|
|
"||"
|
|
|
|
|
|
|
|
":"
|
|
|
|
|
|
|
|
] @operator
|
|
|
|
|
|
|
|
|
|
|
|
; Keywords
|
|
|
|
; Keywords
|
|
|
|
|
|
|
|
|
|
|
|
"classdef" @keyword.storage.type
|
|
|
|
"classdef" @keyword.storage.type
|
|
|
|