From b92535f045d205d8f1c405cf968eb79d1cd53912 Mon Sep 17 00:00:00 2001 From: Tobias Frilling Date: Mon, 12 Sep 2022 19:36:10 +0200 Subject: 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. --- queries/elvish/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/elvish/highlights.scm b/queries/elvish/highlights.scm index c00f9cb1..ab0ce8c1 100644 --- a/queries/elvish/highlights.scm +++ b/queries/elvish/highlights.scm @@ -24,7 +24,7 @@ [ "+" "-" "*" "/" "%" "<" "<=""==" "!=" ">" ">=" "s" ">=s" -] @operator +] @function.builtin [">" "<" ">>" "<>" "|"] @operator -- cgit v1.2.3