Variable: neocaml--imenu-settings
neocaml--imenu-settings is a variable defined in neocaml.el.
Value
(("Type" "\\`type_binding\\'" neocaml--defun-valid-p
neocaml--imenu-name)
("Spec" "\\`\\(value_specification\\|method_specification\\)\\'"
neocaml--defun-valid-p neocaml--imenu-name)
("Exception" "\\`exception_definition\\'" neocaml--defun-valid-p
neocaml--imenu-name)
("Value" "\\`\\(let_binding\\|external\\)\\'" neocaml--defun-valid-p
neocaml--imenu-name)
("Method" "\\`\\(method_definition\\)\\'" neocaml--defun-valid-p
neocaml--imenu-name)
("Module" "\\`\\(module_binding\\|module_type_definition\\)\\'"
neocaml--defun-valid-p nil)
("Class" "\\`\\(class_binding\\|class_type_binding\\)\\'"
neocaml--defun-valid-p neocaml--imenu-name))
Documentation
Settings for treesit-simple-imenu in neocaml-mode.
Source Code
;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
;; TODO: could add constructors / fields
(defvar neocaml--imenu-settings
`(("Type" "\\`type_binding\\'"
neocaml--defun-valid-p neocaml--imenu-name)
("Spec" "\\`\\(value_specification\\|method_specification\\)\\'"
neocaml--defun-valid-p neocaml--imenu-name)
("Exception" "\\`exception_definition\\'"
neocaml--defun-valid-p neocaml--imenu-name)
("Value" "\\`\\(let_binding\\|external\\)\\'"
neocaml--defun-valid-p neocaml--imenu-name)
("Method" "\\`\\(method_definition\\)\\'"
neocaml--defun-valid-p neocaml--imenu-name)
;; grouping module/class types under Type causes some weird nesting
("Module" "\\`\\(module_binding\\|module_type_definition\\)\\'"
neocaml--defun-valid-p nil)
("Class" "\\`\\(class_binding\\|class_type_binding\\)\\'"
neocaml--defun-valid-p neocaml--imenu-name))
"Settings for `treesit-simple-imenu' in `neocaml-mode'.")