mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -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
|
;; >> Context based highlighting
|
||||||
|
|
||||||
; def-likes
|
;; def-likes
|
||||||
; Correctly highlight docstrings
|
;; Correctly highlight docstrings
|
||||||
(list_lit
|
;(list_lit
|
||||||
.
|
;.
|
||||||
(sym_lit) @_keyword ; Don't really want to highlight twice
|
;(sym_lit) @_keyword ; Don't really want to highlight twice
|
||||||
(#any-of? @keyword
|
;(#any-of? @_keyword
|
||||||
"def" "defonce" "defrecord" "defmacro" "definline"
|
;"def" "defonce" "defrecord" "defmacro" "definline"
|
||||||
"defmulti" "defmethod" "defstruct" "defprotocol"
|
;"defmulti" "defmethod" "defstruct" "defprotocol"
|
||||||
"deftype")
|
;"deftype")
|
||||||
.
|
;.
|
||||||
(sym_lit)
|
;(sym_lit)
|
||||||
.
|
;.
|
||||||
;; TODO: Add @comment highlight
|
;;; TODO: Add @comment highlight
|
||||||
(str_lit)?
|
;(str_lit)?
|
||||||
.
|
;.
|
||||||
(_))
|
;(_))
|
||||||
|
|
||||||
; Function definitions
|
; Function definitions
|
||||||
(list_lit
|
(list_lit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue