mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
Highlight builtins as @constant.builtin in OpenFOAM queries
This commit is contained in:
parent
16e77495c4
commit
8133888032
1 changed files with 2 additions and 2 deletions
|
|
@ -56,6 +56,6 @@
|
||||||
] @punctuation
|
] @punctuation
|
||||||
|
|
||||||
;; Special identifiers
|
;; Special identifiers
|
||||||
([(identifier) "on" "off" "true" "false" "yes" "no"] @attribute
|
([(identifier) "on" "off" "true" "false" "yes" "no"] @constant.builtin
|
||||||
(#match? @attribute "^(uniform|non-uniform|and|or|on|off|true|false|yes|no)$")
|
(#match? @constant.builtin "^(uniform|non-uniform|and|or|on|off|true|false|yes|no)$")
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue