File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,6 +169,23 @@ DESCRIPTION is the description of the spec."
169169 (2 5 font-lock-type-face )
170170 (8 9 font-lock-keyword-face )))
171171
172+ (when-fontifying-it " old-style-metadata"
173+ (" (def #^:private my-var true)"
174+ (6 7 font-lock-operator-face)
175+ (8 15 clojure-ts-keyword-face)))
176+
177+ (when-fontifying-it " dynamic-variables"
178+ (" *out*" (1 5 font-lock-builtin-face ))
179+ (" *in*" (1 4 font-lock-builtin-face ))
180+ (" *ns*" (1 4 font-lock-builtin-face ))
181+ (" *err*" (1 5 font-lock-builtin-face )))
182+
183+ (when-fontifying-it " metadata-docstring-for-definline"
184+ (" (definline ^{:doc \" my doc\" } my-fn [x] x)"
185+ (14 17 clojure-ts-keyword-face)
186+ (19 26 font-lock-doc-face )
187+ (29 33 font-lock-function-name-face )))
188+
172189 (when-fontifying-it " function literals"
173190 (" #(or one two)"
174191 (3 4 font-lock-keyword-face )))
You can’t perform that action at this time.
0 commit comments