diff options
author | Álan Crístoffer | 2023-06-30 22:39:17 +0000 |
---|---|---|
committer | GitHub | 2023-06-30 22:39:17 +0000 |
commit | a9849ebee41a8cb884a9351d36ebd399adb4111e (patch) | |
tree | 09dd3a54d15cc26dbc9b3b65237aece5fb811dfd /runtime | |
parent | aec1b997dda74b5cef8d24e5ecd3f94a0fc9f979 (diff) |
highlight(matlab): Fix string's single-quote's color (#7493)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/matlab/highlights.scm | 67 |
1 files changed, 34 insertions, 33 deletions
diff --git a/runtime/queries/matlab/highlights.scm b/runtime/queries/matlab/highlights.scm index bc4c5069..875cba50 100644 --- a/runtime/queries/matlab/highlights.scm +++ b/runtime/queries/matlab/highlights.scm @@ -41,39 +41,6 @@ (function_arguments (identifier) @variable.parameter) -; Operators - -[ - "+" - ".+" - "-" - ".*" - "*" - ".*" - "/" - "./" - "\\" - ".\\" - "^" - ".^" - "'" - ".'" - "|" - "&" - "?" - "@" - "<" - "<=" - ">" - ">=" - "==" - "~=" - "=" - "&&" - "||" - ":" -] @operator - ; Conditionals (if_statement [ "if" "end" ] @keyword.control.conditional) @@ -106,12 +73,46 @@ (formatting_sequence) @constant.character.escape (string) @string (number) @constant.numeric.float +(unary_operator ["+" "-"] @constant.numeric.float) (boolean) @constant.builtin.boolean ; Comments [ (comment) (line_continuation) ] @comment.line +; Operators + +[ + "+" + ".+" + "-" + ".*" + "*" + ".*" + "/" + "./" + "\\" + ".\\" + "^" + ".^" + "'" + ".'" + "|" + "&" + "?" + "@" + "<" + "<=" + ">" + ">=" + "==" + "~=" + "=" + "&&" + "||" + ":" +] @operator + ; Keywords "classdef" @keyword.storage.type |