mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -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
|
||||
|
||||
;; 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)$")
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue