diff options
| author | Tobias Frilling <tobias@frilling.dev> | 2022-09-12 19:36:10 +0200 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-09-19 17:11:30 +0200 |
| commit | b92535f045d205d8f1c405cf968eb79d1cd53912 (patch) | |
| tree | 7664b3a1c085c119ad290851bb996efd463fc3bf | |
| parent | 17563f4699f7d4049e68791b29c2af639993d96c (diff) | |
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.
| -rw-r--r-- | queries/elvish/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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" "==s" "!=s" ">s" ">=s" -] @operator +] @function.builtin [">" "<" ">>" "<>" "|"] @operator |
