aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.local.d')
-rw-r--r--.emacs.local.d/modes/go-lang.el2
-rw-r--r--.emacs.local.d/modes/lsp.el1
2 files changed, 0 insertions, 3 deletions
diff --git a/.emacs.local.d/modes/go-lang.el b/.emacs.local.d/modes/go-lang.el
index 0554f2b..8ec678b 100644
--- a/.emacs.local.d/modes/go-lang.el
+++ b/.emacs.local.d/modes/go-lang.el
@@ -7,8 +7,6 @@
(progn
(bind-key [remap find-tag] #'godef-jump))
:config
- (add-hook 'go-mode-hook #'lsp-go-install-save-hooks)
- (add-hook 'go-mode-hook #'lsp-deferred)
(add-hook 'go-mode-hook #'yas-minor-mode)
(add-hook 'go-mode-hook 'electric-pair-mode)
(add-hook 'go-mode-hook 'my-go-mode-hook)
diff --git a/.emacs.local.d/modes/lsp.el b/.emacs.local.d/modes/lsp.el
index 30a5d8f..1baf1b3 100644
--- a/.emacs.local.d/modes/lsp.el
+++ b/.emacs.local.d/modes/lsp.el
@@ -9,7 +9,6 @@
(defun lsp-go-install-save-hooks ()
(add-hook 'before-save-hook #'lsp-format-buffer t t)
(add-hook 'before-save-hook #'lsp-organize-imports t t))
-(add-hook 'go-mode-hook #'lsp-go-install-save-hooks)
;;Optional - provides fancier overlays.
(use-package lsp-ui
nihil fit ex nihilo