mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
Improve OCaml highlights
This commit is contained in:
parent
00e1a5555a
commit
60e097a14a
1 changed files with 1 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
(
|
(
|
||||||
(type_constructor) @type.builtin
|
(type_constructor) @type.builtin
|
||||||
(#contains? @type.builtin "int" "char" "bytes" "string" "float" "bool" "unit" "exn" "array" "list" "option" "int32" "int64" "nativeint" "format6" "lazy_t")
|
(#match? @type.builtin "^(int|char|bytes|string|float|bool|unit|exn|array|list|option|int32|int64|nativeint|format6|lazy_t)$")
|
||||||
)
|
)
|
||||||
|
|
||||||
[(class_name) (class_type_name) (type_constructor)] @type
|
[(class_name) (class_type_name) (type_constructor)] @type
|
||||||
|
|
@ -38,8 +38,6 @@
|
||||||
[(value_name) (type_variable)] @variable
|
[(value_name) (type_variable)] @variable
|
||||||
|
|
||||||
(value_pattern) @parameter
|
(value_pattern) @parameter
|
||||||
(parameter (label_name) @parameter)
|
|
||||||
(function_type (typed_label (label_name) @parameter))
|
|
||||||
|
|
||||||
; Application
|
; Application
|
||||||
;------------
|
;------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue