Change lsp-go config and embark act hotkey

main
Sergio Alvariño 3 years ago
parent 5c745d6e94
commit fd9628ff84

@ -376,7 +376,7 @@ Some notes about [[https://github.com/jwiegley/use-package][use-package]]
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package embark (use-package embark
:bind :bind
(("C-." . embark-act) ;; pick some comfortable binding (("C-+" . embark-act) ;; pick some comfortable binding
("C-;" . embark-dwim) ;; good alternative: M-. ("C-;" . embark-dwim) ;; good alternative: M-.
("C-h B" . embark-bindings)) ;; alternative for `describe-bindings' ("C-h B" . embark-bindings)) ;; alternative for `describe-bindings'
@ -1248,6 +1248,7 @@ References:
- [[https://gist.github.com/psanford/b5d2689ff1565ec7e46867245e3d2c76][psandford/gopls configuration]] - [[https://gist.github.com/psanford/b5d2689ff1565ec7e46867245e3d2c76][psandford/gopls configuration]]
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package go-mode (use-package go-mode
:after lsp
:custom :custom
;; (lsp-enable-links nil) ;; (lsp-enable-links nil)
;; (lsp-clients-go-server-args '("--cache-style=always" "--diagnostics-style=onsave" "--format-style=goimports")) ;; (lsp-clients-go-server-args '("--cache-style=always" "--diagnostics-style=onsave" "--format-style=goimports"))

Loading…
Cancel
Save