highlight(matlab): Fix string's single-quote's color (#7493)

pull/16/head
Álan Crístoffer 1 year ago committed by GitHub
parent aec1b997dd
commit a9849ebee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save