Function: combobulate-primary-language
combobulate-primary-language is a natively compiled function defined
in combobulate-interface.el.
Signature
(combobulate-primary-language &optional QUIET)
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-interface.el
(defun combobulate-primary-language (&optional quiet)
(or
(treesit-language-at (point))
(car (combobulate-get-registered-language major-mode))
(when-let ((first-language (car (combobulate-parser-list))))
(combobulate-parser-language first-language))
(unless quiet
(error "No parsers available"))))