Function: php-ts-mode-install-parsers

php-ts-mode-install-parsers is an interactive and byte-compiled function defined in php-ts-mode.el.gz.

Signature

(php-ts-mode-install-parsers)

Documentation

Install all the required treesitter parsers.

treesit-language-source-alist defines which parsers to install. It's pre-filled by loading "mhtml-ts-mode".

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/php-ts-mode.el.gz
(defun php-ts-mode-install-parsers ()
  "Install all the required treesitter parsers.
`treesit-language-source-alist' defines which parsers to install.
It's pre-filled by loading \"mhtml-ts-mode\"."
  (interactive)
  (mhtml-ts-mode-install-parsers)
  (dolist (lang '(php phpdoc))
    (treesit-install-language-grammar lang)))