aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2023-01-04 10:10:32 -0800
committerRaul Benencia <rul@kalgan.cc>2023-01-04 10:10:32 -0800
commit1ceba0e5494532b5c72bb20d02c3d03c6bb9aa1c (patch)
treef1038890bf1ae8dc26be7305e518b1aa83bcfca8 /.emacs.local.d
parent902158fc2379a1c08551673c62c60e95afce81dc (diff)
emacs: remove lsp-hooks
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