Reorganise slightly

This commit is contained in:
Oliver Marshall 2021-06-04 23:54:46 +01:00 committed by Stephan Seitz
parent f6c6d0d947
commit 688ec2f6a0

View file

@ -1,3 +1,5 @@
;; >> Litterals
(dis_expr) @comment
(kwd_lit) @symbol
@ -16,6 +18,24 @@
(regex_lit) @string.regex
(quoting_lit
marker: "'" @string.escape)
(syn_quoting_lit
marker: "`" @string.escape)
(set_lit
marker: "#" @punctuation.special)
(anon_fn_lit
marker: "#" @punctuation.special)
["{" "}" "[" "]" "(" ")"] @punctuation.bracket
;; >> Symbols
;; metadata experiment
(meta_lit
marker: "^" @punctuation.special)
@ -72,10 +92,5 @@
((sym_lit) @variable
(#match? @variable "\\."))
;; quote
(quoting_lit) @string.escape
;; syntax quote
(syn_quoting_lit) @string.escape
["{" "}" "[" "]" "(" ")"] @punctuation.bracket