mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(lang): allow gopls language server to modify go.mod
This ensures that the language server can download and use new packages. Instead of blowing up with errors.
This commit is contained in:
@@ -79,7 +79,8 @@
|
||||
|
||||
:config
|
||||
(lsp-register-custom-settings
|
||||
'(("gopls.gofumpt" t t)))
|
||||
'(("gopls.allowModfileModifications" t t)
|
||||
("gopls.gofumpt" t t)))
|
||||
|
||||
:init
|
||||
(defun siren-lsp-go-mode-setup ()
|
||||
|
||||
Reference in New Issue
Block a user