diff options
| author | Elwardi <elwardifadeli@gmail.com> | 2021-12-14 19:52:18 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-08 13:20:52 +0100 |
| commit | 813388803240dee8d5ac856e9560336dd539b9ac (patch) | |
| tree | 3dafe24824b82152b3ed465c618151bada9485b1 | |
| parent | 16e77495c45a2e3794af72f09de717f81ea418a2 (diff) | |
Highlight builtins as @constant.builtin in OpenFOAM queries
| -rw-r--r-- | queries/foam/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/foam/highlights.scm b/queries/foam/highlights.scm index ea895cf9..2c33a6fd 100644 --- a/queries/foam/highlights.scm +++ b/queries/foam/highlights.scm @@ -56,6 +56,6 @@ ] @punctuation ;; Special identifiers -([(identifier) "on" "off" "true" "false" "yes" "no"] @attribute -(#match? @attribute "^(uniform|non-uniform|and|or|on|off|true|false|yes|no)$") +([(identifier) "on" "off" "true" "false" "yes" "no"] @constant.builtin +(#match? @constant.builtin "^(uniform|non-uniform|and|or|on|off|true|false|yes|no)$") ) |
