Enable yas-minor-mode when using LSP
This commit is contained in:
parent
0508a3ea7f
commit
235852a3f3
11
config.org
11
config.org
@ -377,7 +377,16 @@
|
||||
(use-package lsp-ui :commands lsp-ui-mode)
|
||||
#+end_src
|
||||
|
||||
Finally, to enable Ido integration:
|
||||
For LSP's most excellent autocompletion to work properly
|
||||
[[help:yas-minor-mode][yas-minor-mode]] must be enabled, so hook that into =lsp-mode=:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(add-hook 'lsp-mode-hook
|
||||
(lambda ()
|
||||
(yas-minor-mode)))
|
||||
#+end_src
|
||||
|
||||
To enable Ido integration:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(require 'lsp-ido)
|
||||
|
Loading…
x
Reference in New Issue
Block a user