aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorTobias Frilling <tobias@frilling.dev>2022-09-12 19:36:10 +0200
committerChristian Clason <christian.clason@uni-due.de>2022-09-19 17:11:30 +0200
commitb92535f045d205d8f1c405cf968eb79d1cd53912 (patch)
tree7664b3a1c085c119ad290851bb996efd463fc3bf /queries
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-b92535f045d205d8f1c405cf968eb79d1cd53912.tar
nvim-treesitter-b92535f045d205d8f1c405cf968eb79d1cd53912.tar.gz
nvim-treesitter-b92535f045d205d8f1c405cf968eb79d1cd53912.tar.bz2
nvim-treesitter-b92535f045d205d8f1c405cf968eb79d1cd53912.tar.lz
nvim-treesitter-b92535f045d205d8f1c405cf968eb79d1cd53912.tar.xz
nvim-treesitter-b92535f045d205d8f1c405cf968eb79d1cd53912.tar.zst
nvim-treesitter-b92535f045d205d8f1c405cf968eb79d1cd53912.zip
highlights(elvish): Use `@function.builtin` for operator-like functions
Elvish uses prefix notation even for mathematical operators (i.e. `<= 1 2 3 4`), so these should be considered functions.
Diffstat (limited to 'queries')
-rw-r--r--queries/elvish/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/elvish/highlights.scm b/queries/elvish/highlights.scm
index c00f9cb18..ab0ce8c1b 100644
--- a/queries/elvish/highlights.scm
+++ b/queries/elvish/highlights.scm
@@ -24,7 +24,7 @@
[
"+" "-" "*" "/" "%" "<" "<=""==" "!=" ">"
">=" "<s" "<=s" "==s" "!=s" ">s" ">=s"
-] @operator
+] @function.builtin
[">" "<" ">>" "<>" "|"] @operator