mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
fix(foam): update queries from upstream
This commit is contained in:
parent
896f2c7622
commit
2d78445087
2 changed files with 4 additions and 8 deletions
|
|
@ -29,10 +29,11 @@
|
|||
((preproc_call) @conditional
|
||||
(#any-of? @conditional "else" "endif"))
|
||||
|
||||
;; Literal numbers and strings
|
||||
;; Literals
|
||||
(number_literal) @float
|
||||
(string_literal) @string
|
||||
(escape_sequence) @string.escape
|
||||
(boolean) @boolean
|
||||
|
||||
;; Treat [m^2 s^-2] the same as if it was put in numbers format
|
||||
(dimensions dimension: (identifier) @float)
|
||||
|
|
@ -54,12 +55,7 @@
|
|||
"$$"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
";"
|
||||
] @punctuation.delimiter
|
||||
|
||||
;; Special identifiers
|
||||
[ "on" "off" "true" "false" "yes" "no" ] @constant.builtin
|
||||
";" @punctuation.delimiter
|
||||
|
||||
((identifier) @constant.builtin
|
||||
(#any-of? @constant.builtin "uniform" "non-uniform" "and" "or"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue