Extend CL highlights

This commit is contained in:
Stephan Seitz 2021-04-05 14:37:53 +02:00 committed by Stephan Seitz
parent e197736061
commit 64f13eace5
5 changed files with 66 additions and 32 deletions

View file

@ -46,3 +46,27 @@
(sym_lit) @_let (#match? @_let "(cl:|alexandria)?(with-gensyms|dotimes|with-foreign-object)")
.
(list_lit . (sym_lit) @definition.var)) @scope
(list_lit
.
(kwd_lit) @_import_from (#eq? @_import_from ":import-from")
.
(_)
(kwd_lit (kwd_symbol) @definition.import))
(list_lit
.
(kwd_lit) @_import_from (#eq? @_import_from ":import-from")
.
(_)
(sym_lit) @definition.import)
(list_lit
.
(kwd_lit) @_use (#eq? @_use ":use")
(kwd_lit (kwd_symbol) @definition.import))
(list_lit
.
(kwd_lit) @_use (#eq? @_use ":use")
(sym_lit) @definition.import)