Function: just-ts-mode-install-grammar
just-ts-mode-install-grammar is an interactive and natively compiled
function defined in just-ts-mode.el.
Signature
(just-ts-mode-install-grammar)
Documentation
Install the language grammar for just-ts-mode.
The function removes existing entries for the Just language in
treesit-language-source-alist and adds the entry stored in
just-ts-mode-treesit-language-source.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/1vmf8s52d6vniw28ckf3szxslimhfphb-emacs-packages-deps/share/emacs/site-lisp/elpa/just-ts-mode-20260319.1513/just-ts-mode.el
(defun just-ts-mode-install-grammar ()
"Install the language grammar for `just-ts-mode'.
The function removes existing entries for the Just language in
`treesit-language-source-alist' and adds the entry stored in
`just-ts-mode-treesit-language-source'."
(interactive)
;; Remove existing entries
(setq treesit-language-source-alist
(assq-delete-all 'just treesit-language-source-alist))
;; Add the correct entry
(add-to-list 'treesit-language-source-alist
just-ts-mode-treesit-language-source)
;; Install the grammar
(treesit-install-language-grammar 'just))