aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaehwang Jung <tomtomjhj@gmail.com>2023-10-03 19:16:32 +0900
committerChristian Clason <c.clason@uni-graz.at>2023-10-03 17:54:10 +0200
commit812c2dd8fe838bb26cb53f0d251116468c2cae37 (patch)
tree881e1d7742f4d686b49bc61fa7b78d72c22cd80f
parentfeat(ocaml): use @function.call where appropriate (diff)
downloadnvim-treesitter-812c2dd8fe838bb26cb53f0d251116468c2cae37.tar
nvim-treesitter-812c2dd8fe838bb26cb53f0d251116468c2cae37.tar.gz
nvim-treesitter-812c2dd8fe838bb26cb53f0d251116468c2cae37.tar.bz2
nvim-treesitter-812c2dd8fe838bb26cb53f0d251116468c2cae37.tar.lz
nvim-treesitter-812c2dd8fe838bb26cb53f0d251116468c2cae37.tar.xz
nvim-treesitter-812c2dd8fe838bb26cb53f0d251116468c2cae37.tar.zst
nvim-treesitter-812c2dd8fe838bb26cb53f0d251116468c2cae37.zip
feat(query): use @function.call for predicate
-rw-r--r--queries/query/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm
index f2d2ef6c7..603bba933 100644
--- a/queries/query/highlights.scm
+++ b/queries/query/highlights.scm
@@ -2,7 +2,7 @@
(escape_sequence) @string.escape
(capture (identifier) @type)
(anonymous_node (identifier) @string)
-(predicate name: (identifier) @function)
+(predicate name: (identifier) @function.call)
(named_node name: (identifier) @variable)
(field_definition name: (identifier) @property)
(negated_field "!" @operator (identifier) @property)