diff options
Diffstat (limited to 'queries/clojure/highlights.scm')
| -rw-r--r-- | queries/clojure/highlights.scm | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm index 6fbeea509..49c828535 100644 --- a/queries/clojure/highlights.scm +++ b/queries/clojure/highlights.scm @@ -281,22 +281,22 @@ ;; >> Context based highlighting -; def-likes -; Correctly highlight docstrings -(list_lit - . - (sym_lit) @_keyword ; Don't really want to highlight twice - (#any-of? @keyword - "def" "defonce" "defrecord" "defmacro" "definline" - "defmulti" "defmethod" "defstruct" "defprotocol" - "deftype") - . - (sym_lit) - . - ;; TODO: Add @comment highlight - (str_lit)? - . - (_)) +;; def-likes +;; Correctly highlight docstrings +;(list_lit + ;. + ;(sym_lit) @_keyword ; Don't really want to highlight twice + ;(#any-of? @_keyword + ;"def" "defonce" "defrecord" "defmacro" "definline" + ;"defmulti" "defmethod" "defstruct" "defprotocol" + ;"deftype") + ;. + ;(sym_lit) + ;. + ;;; TODO: Add @comment highlight + ;(str_lit)? + ;. + ;(_)) ; Function definitions (list_lit |
