From 8c2d36e595611d284029be0c507a15e013e6649b Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 20 Jan 2021 07:31:31 +0100 Subject: [PATCH] Emacs: Start yas-minor-mode after lsp-mode. Needed for completion. --- init.d/programming/lsp.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.d/programming/lsp.el b/init.d/programming/lsp.el index 434578c..e5d43b0 100644 --- a/init.d/programming/lsp.el +++ b/init.d/programming/lsp.el @@ -7,6 +7,7 @@ (require 'basics/package-management) (require 'basics/global-variables) (require 'programming/common) +(require 'text/common) ;; Client for Language Server Protocol servers. (use-package lsp-mode @@ -45,7 +46,8 @@ (python-mode . lsp) (nxml-mode . lsp) (json-mode . lsp) - (lsp-mode . lsp-enable-which-key-integration))) + (lsp-mode . lsp-enable-which-key-integration) + (lsp-mode . yas-minor-mode))) ;; Eye-candy and flycheck support for lsp-mode. (use-package lsp-ui