From 48734ea7840749bba76760a5d090949e861e56c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Alvari=C3=B1o?= Date: Mon, 21 Mar 2022 22:03:54 +0100 Subject: [PATCH] Add golang lsp configuration parameters --- myconfig.org | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/myconfig.org b/myconfig.org index 35dfdea..08f956e 100644 --- a/myconfig.org +++ b/myconfig.org @@ -777,6 +777,8 @@ References: ;; (lsp-enable-links nil) ;; (lsp-clients-go-server-args '("--cache-style=always" "--diagnostics-style=onsave" "--format-style=goimports")) (lsp-gopls-server-args '("--debug=localhost:6060")) + (lsp-gopls-staticcheck t) + ;; (lsp-gopls-complete-unimported t) :hook ((go-mode . lsp-deferred) (before-save . lsp-format-buffer) @@ -793,20 +795,22 @@ References: ) #+end_src -*** got-projectile +*** go-projectile +- [[https://github.com/dougm/go-projectile][The repo]] #+begin_src emacs-lisp ;; (use-package go-projectile - ;; ) - + ;; :after go-mode) #+end_src *** go-test + #+begin_src emacs-lisp (use-package gotest :bind (:map go-mode-map ("C-c a t" . #'go-test-current-test) ) + :after go-mode ) #+end_src