diff options
| author | Joakker <joaquinandresleon108@gmail.com> | 2021-06-24 14:45:31 -0400 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-06-25 00:22:48 +0200 |
| commit | c699cc2e47fe302e9f414356cceb20a309be5bc6 (patch) | |
| tree | 961806f7baf8cc44432ffc813c71c5304907cb16 /queries/clojure | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.gz nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.bz2 nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.lz nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.xz nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.zst nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.zip | |
Use #any-of? instead of #match? where posible
Diffstat (limited to 'queries/clojure')
| -rw-r--r-- | queries/clojure/highlights.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm index 965ec1369..0502f5684 100644 --- a/queries/clojure/highlights.scm +++ b/queries/clojure/highlights.scm @@ -38,7 +38,11 @@ (sym_lit) @function.macro . (sym_lit) @function - (#match? @function.macro "^(declare|def|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defprotocol|defstruct|deftype|ns)$")) + (#any-of? @function.macro + "declare" "def" "definline" "definterface" + "defmacro" "defmethod" "defmulti" "defn" + "defn-" "defonce" "defprotocol" "defstruct" + "deftype" "ns")) ;; other macros (list_lit |
