Add string escape high-lighting

This commit is contained in:
Bruno BELANYI 2022-06-03 12:03:10 +02:00
parent 47eb986835
commit c48624c0f3
2 changed files with 5 additions and 2 deletions

View file

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

View file

@ -2,5 +2,7 @@ nil
/* <- constant.builtin */ /* <- constant.builtin */
42 42
/* <- number */ /* <- number */
"Hello World!" "Hello World!\n"
/* <- string */ /* <- string
^ string.escape
*/