mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
highlights(ocaml): use more specific groups
This commit is contained in:
parent
97e08483d8
commit
8d598de022
1 changed files with 10 additions and 5 deletions
|
|
@ -95,13 +95,18 @@
|
||||||
;---------
|
;---------
|
||||||
|
|
||||||
[
|
[
|
||||||
"and" "as" "assert" "begin" "class" "constraint"
|
"and" "as" "assert" "begin" "class"
|
||||||
"end" "external" "in"
|
"constraint" "end" "external" "in"
|
||||||
"inherit" "initializer" "lazy" "let" "match" "method" "module"
|
"inherit" "initializer" "let" "match"
|
||||||
"mutable" "new" "nonrec" "object" "of" "private" "rec" "sig" "struct"
|
"method" "module" "new" "object" "of"
|
||||||
"type" "val" "virtual" "when" "with"
|
"sig" "struct" "type" "val" "when" "with"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
|
[
|
||||||
|
"lazy" "mutable" "nonrec"
|
||||||
|
"rec" "private" "virtual"
|
||||||
|
] @type.qualifier
|
||||||
|
|
||||||
["fun" "function" "functor"] @keyword.function
|
["fun" "function" "functor"] @keyword.function
|
||||||
|
|
||||||
["if" "then" "else"] @conditional
|
["if" "then" "else"] @conditional
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue