Function: neocaml--grammar-info
neocaml--grammar-info is a natively compiled function defined in
neocaml.el.
Signature
(neocaml--grammar-info LANGUAGE)
Documentation
Return a string describing the status of the LANGUAGE grammar.
Source Code
;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
(defun neocaml--grammar-info (language)
"Return a string describing the status of the LANGUAGE grammar."
(if (treesit-language-available-p language)
(let ((recipe (assq language neocaml-grammar-recipes))
(abi (treesit-language-abi-version language)))
(format "%s (ABI %s, expected: %s)" language abi (or (nth 2 recipe) "unknown")))
(format "%s (not installed)" language)))