commit ee721fd52930faac9aea78c51f7f82a0d8beed32
parent 5685791c8faee627809b67e3540f5826c941d49c
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 15 Mar 2022 17:59:24 +0100
tools/emacs: add more lsp configuration
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/emacs/config/programming-lsp.el b/tools/emacs/config/programming-lsp.el
@@ -32,7 +32,10 @@
(lsp-idle-delay .01)
(lsp-keymap-prefix nil)
(lsp-eldoc-render-all nil)
- (lsp-file-watch-threshold 4000))
+ (lsp-file-watch-threshold 4000)
+ (lsp-gopls-complete-unimported t t)
+ (lsp-yaml-format-enable t)
+ (lsp-gopls-staticcheck t t))
(use-package consult-lsp
:after (lsp))