Enable yas-minor-mode in lsp-mode

This commit is contained in:
Adam Goldsmith 2024-07-30 16:14:29 -04:00
parent 60b69554b3
commit 7dbd6b9c25

View File

@ -610,7 +610,8 @@
(use-package flycheck :ensure)
(use-package lsp-mode
:hook ((python-mode html-mode web-mode css-mode js2-mode typescript-mode java-mode rust-mode) . lsp)
:hook (((python-mode html-mode web-mode css-mode js2-mode typescript-mode java-mode rust-mode) . lsp)
(lsp-mode . yas-minor-mode))
:bind (:map lsp-mode-map ("C-M-z" . lsp-compile-in-root))
:config
(setq lsp-prefer-flymake nil