summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-15 15:48:18 +0200
committerAlan Pearce2024-05-15 15:48:18 +0200
commita1e4b1504fcbfb73a233f3b947e43cfa93c4854d (patch)
treed6cd6aa447b41defee109631263b48d45fe07652
parent897916633e1ce006b20fc0af9f3b23fba27dbecb (diff)
downloadnixfiles-a1e4b1504fcbfb73a233f3b947e43cfa93c4854d.tar.lz
nixfiles-a1e4b1504fcbfb73a233f3b947e43cfa93c4854d.tar.zst
nixfiles-a1e4b1504fcbfb73a233f3b947e43cfa93c4854d.zip
emacs: only use gopls in go files
-rw-r--r--user/emacs/init.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index a17517ac..0a8663b3 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1062,11 +1062,6 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
             (defun my/setup-eglot-eldoc ()
               (push 'flymake-eldoc-function eldoc-documentation-functions))
             (add-hook 'eglot-managed-mode-hook 'my/setup-eglot-eldoc)
-            (setf (alist-get '(go-mode go-dot-mod-mode go-dot-work-mode go-ts-mode go-mod-ts-mode)
-                             eglot-server-programs
-                             nil nil #'equal)
-                  (eglot-alternatives '("golangci-lint-langserver"
-                                        "gopls" )))
             (setq-default eglot-workspace-configuration
                           '( :yaml (:keyOrdering nil)
                              :nix (:autoArchive t)