TreeSitter auto-install grammars

This commit is contained in:
MitchMarq42 2023-02-08 13:57:36 -09:00
parent ecd90db36d
commit f21a653fca

View File

@ -761,6 +761,12 @@ Return nil if DIR is not in a hugo project at all."
:init (defun corfu/lsp-mode-setup-completion ()
(setf (alist-get 'styles (alist-get 'lsp-capf completion-category-defaults))
'(flex))))
(elpaca-use-package (treesit-auto
:host github
:repo "renzmann/treesit-auto")
:custom (treesit-auto-install 'prompt)
;; :init (add-to-list 'treesit-auto-fallback-alist '(bash-ts-mode . sh-mode))
)
;; broken snippets I don't care about...
(elpaca-use-package yasnippet