mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
highlights(clojure): out-comment TODO query
This commit is contained in:
parent
b866165732
commit
e7fe083fbc
1 changed files with 16 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue