summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-prog.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/emacs/custom/my-prog.el b/emacs/custom/my-prog.el
index 2a0f29a..285befc 100644
--- a/emacs/custom/my-prog.el
+++ b/emacs/custom/my-prog.el
@@ -100,11 +100,13 @@
 
 ;; List of settings for gopls:
 ;; https://github.com/golang/tools/blob/master/gopls/doc/settings.md
+;; https://github.com/golang/tools/blob/master/gopls/doc/settings.md#experimentalworkspacemodule-bool
 (customize-set-variable 'eglot-workspace-configuration
                         '((:gopls .
-                                  ((staticcheck     . t)
-                                   (matcher         . "CaseSensitive")
-                                   (usePlaceholders . t)))))
+                                  ((staticcheck                 . t)
+                                   (experimentalWorkspaceModule . t)
+                                   (matcher                     . "CaseSensitive")
+                                   (usePlaceholders             . t)))))
 
 ;; ensure we load eglot for some specific modes
 (dolist (hook '(go-mode-hook nix-mode-hook))