Variable: neocaml--defun-type-regexp

neocaml--defun-type-regexp is a variable defined in neocaml.el.

Value

"\\(?:class_\\(?:\\(?:type_\\)?binding\\)\\|ex\\(?:ception_definition\\|ternal\\)\\|in\\(?:clude_module\\(?:_type\\)?\\|stance_variable_\\(?:\\(?:defini\\|specifica\\)tion\\)\\)\\|let_binding\\|m\\(?:ethod_\\(?:\\(?:defini\\|specifica\\)tion\\)\\|odule_\\(?:binding\\|type_definition\\)\\)\\|type_binding\\|value_specification\\)"

Documentation

Regex matching tree-sitter node types treated as defun-like.

Used as the value of treesit-defun-type-regexp.

Source Code

;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
;;;; Find the definition at point (some Emacs commands use this internally)

(defvar neocaml--defun-type-regexp
  (regexp-opt '("type_binding"
                "exception_definition"
                "external"
                "let_binding"
                "value_specification"
                "method_definition"
                "method_specification"
                "include_module"
                "include_module_type"
                "instance_variable_definition"
                "instance_variable_specification"
                "module_binding"
                "module_type_definition"
                "class_binding"
                "class_type_binding"))
  "Regex matching tree-sitter node types treated as defun-like.
Used as the value of `treesit-defun-type-regexp'.")