Add string escape high-lighting
This commit is contained in:
parent
47eb986835
commit
c48624c0f3
|
@ -33,6 +33,7 @@
|
||||||
(nil_literal) @constant.builtin
|
(nil_literal) @constant.builtin
|
||||||
(integer_literal) @number
|
(integer_literal) @number
|
||||||
(string_literal) @string
|
(string_literal) @string
|
||||||
|
(escape_sequence) @string.escape
|
||||||
; }}}
|
; }}}
|
||||||
|
|
||||||
; Operators {{{
|
; Operators {{{
|
||||||
|
|
|
@ -2,5 +2,7 @@ nil
|
||||||
/* <- constant.builtin */
|
/* <- constant.builtin */
|
||||||
42
|
42
|
||||||
/* <- number */
|
/* <- number */
|
||||||
"Hello World!"
|
"Hello World!\n"
|
||||||
/* <- string */
|
/* <- string
|
||||||
|
^ string.escape
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in a new issue