From 1ceba0e5494532b5c72bb20d02c3d03c6bb9aa1c Mon Sep 17 00:00:00 2001
From: Raul Benencia <rul@kalgan.cc>
Date: Wed, 4 Jan 2023 10:10:32 -0800
Subject: emacs: remove lsp-hooks

---
 .emacs.local.d/modes/go-lang.el | 2 --
 .emacs.local.d/modes/lsp.el     | 1 -
 2 files changed, 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
-- 
cgit v1.2.3