mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Add OCaml folds
This commit is contained in:
parent
a8c8de13ae
commit
718fc1be3e
1 changed files with 30 additions and 0 deletions
30
queries/ocaml/folds.scm
Normal file
30
queries/ocaml/folds.scm
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
(let_binding)
|
||||
(external)
|
||||
(type_binding)
|
||||
(exception_definition)
|
||||
(module_binding)
|
||||
(module_type_definition)
|
||||
(open_module)
|
||||
(include_module)
|
||||
(include_module_type)
|
||||
(class_binding)
|
||||
(class_type_binding)
|
||||
(value_specification)
|
||||
(inheritance_specification)
|
||||
(instance_variable_specification)
|
||||
(method_specification)
|
||||
(inheritance_definition)
|
||||
(instance_variable_definition)
|
||||
(method_definition)
|
||||
(class_initializer)
|
||||
(match_case)
|
||||
(attribute)
|
||||
(item_attribute)
|
||||
(floating_attribute)
|
||||
(extension)
|
||||
(item_extension)
|
||||
(quoted_extension)
|
||||
(quoted_item_extension)
|
||||
(comment)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue