mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
ocaml: follow upstream for highlights
This commit is contained in:
parent
2efeb80a44
commit
9447909d11
1 changed files with 3 additions and 6 deletions
|
|
@ -19,16 +19,16 @@
|
|||
;----------
|
||||
|
||||
(let_binding
|
||||
pattern: (value_pattern) @function
|
||||
pattern: (value_name) @function
|
||||
(parameter))
|
||||
|
||||
(let_binding
|
||||
pattern: (value_pattern) @function
|
||||
pattern: (value_name) @function
|
||||
body: [(fun_expression) (function_expression)])
|
||||
|
||||
(value_specification (value_name) @function)
|
||||
|
||||
(external (value_pattern) @function)
|
||||
(external (value_name) @function)
|
||||
|
||||
(method_name) @method
|
||||
|
||||
|
|
@ -37,9 +37,6 @@
|
|||
|
||||
[(value_name) (type_variable)] @variable
|
||||
|
||||
(let_binding pattern: (value_pattern) @variable)
|
||||
(let_binding pattern: (tuple_pattern (value_pattern) @variable))
|
||||
|
||||
(value_pattern) @parameter
|
||||
(parameter (label_name) @parameter)
|
||||
(function_type (typed_label (label_name) @parameter))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue