mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -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
|
|
@ -132,7 +132,7 @@
|
|||
"revision": "f9176908c9eb2e11eb684d79e1d00f3b29bd65c9"
|
||||
},
|
||||
"foam": {
|
||||
"revision": "024449594c2841c944463481b741b141d1ab5727"
|
||||
"revision": "7ef88a8c652073785bffd7ce9c3effc68035aa11"
|
||||
},
|
||||
"fortran": {
|
||||
"revision": "31552ac43ecaffa443a12ebea68cc526d334892f"
|
||||
|
|
|
|||
|
|
@ -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