Add golang lsp configuration parameters

main
Sergio Alvariño 3 years ago
parent 47cf9a50c5
commit 48734ea784

@ -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

Loading…
Cancel
Save