diff options
author | 2023-12-19 12:08:37 +0100 | |
---|---|---|
committer | 2023-12-19 12:08:37 +0100 | |
commit | a0b288e854c6788f360e5c7ef17d9ad6d1730bad (patch) | |
tree | 59db8e43f0456e18a22eee2953db494da71e8165 /lang | |
parent | modules: enable LSP for Clojure (diff) | |
download | doom-emacs-a0b288e854c6788f360e5c7ef17d9ad6d1730bad.tar.xz |
chore: update config
Diffstat (limited to 'lang')
-rw-r--r-- | lang/go.el | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1,11 +1,6 @@ ;;; lang/go.el -*- lexical-binding: t; -*- -(when (featurep! :tools lsp +eglot) +(when (modulep! :tools lsp +eglot) (after! eglot (add-to-list 'eglot-workspace-configuration - `((:gopls . ((staticcheck . t)))))) - - (setq-hook! 'go-mode-hook +format-with :none) - - (add-hook! 'go-mode-hook - (add-hook 'before-save-hook #'eglot-format-buffer -30 t))) + `((:gopls . ((staticcheck . t))))))) |