nvim-treesitter/tests/query/highlights/clojure/test.clj

53 lines
593 B
Clojure
Raw Normal View History

(ns test {:clj-kondo/ignore true})
2023-12-24 12:52:21 +01:00
; <- @punctuation.bracket
; ^ @include
; ^ @namespace
; asdf
2023-12-24 12:52:21 +01:00
;^^^^^^ @comment
#_ abc
2023-12-24 12:52:21 +01:00
;^^^^^^ @comment
(func obj)
2023-12-24 12:52:21 +01:00
;^^^^ @function.call
; ^^^ @variable
#(+ % %1 %&)
2023-12-24 12:52:21 +01:00
;^ @punctuation.special
; ^ @function.call
; ^ ^^ ^^ @variable.builtin
&
2023-12-24 12:52:21 +01:00
;^ @parameter
->abc
2023-12-24 12:52:21 +01:00
;^^^^^ @constructor
->>abc
2023-12-24 12:52:21 +01:00
;^^^^^^ @variable
*1 *2 *3 *e
2023-12-24 12:52:21 +01:00
;^^ ^^ ^^ ^^ @variable.builtin
(.method)
2023-12-24 12:52:21 +01:00
;^^^^^^^ @method
(.-field)
2023-12-24 12:52:21 +01:00
;^^^^^^^ @field
Abc/method
2023-12-24 12:52:21 +01:00
;^^^^^^^^^^ @field
(Abc/method)
2023-12-24 12:52:21 +01:00
;^^^^^^^^^^ @method
Abc
2023-12-24 12:52:21 +01:00
;^^^ @type
abc.
2023-12-24 12:52:21 +01:00
;^^^^ @type
^abc
2023-12-24 12:52:21 +01:00
;^ @punctuation.special