Skip to content

Commit 9112b4d

Browse files
committed
Allow font locking of defs at the toplevel with metadata
1 parent 8afa565 commit 9112b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: clojure-ts-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ with the markdown_inline grammar."
349349

350350
:feature 'builtin
351351
:language 'clojure
352-
`(((list_lit :anchor (sym_lit (sym_name) @font-lock-keyword-face))
352+
`(((list_lit meta: _ :? :anchor (sym_lit (sym_name) @font-lock-keyword-face))
353353
(:match ,clojure-ts--builtin-symbol-regexp @font-lock-keyword-face))
354354
((sym_name) @font-lock-builtin-face
355355
(:match ,clojure-ts--builtin-dynamic-var-regexp @font-lock-builtin-face)))

0 commit comments

Comments
 (0)