              go-test-current-file
              go-test-current-project)
   :hook (;; (before-save . gofmt-before-save)
-         (go-mode . lsp-deferred)
-         (go-mode . lsp-go-install-save-hooks)))
+         ;; (go-mode . lsp-deferred)
+         ;; (go-mode . lsp-go-install-save-hooks)
+         ))
 
 (use-package go-add-tags)
 

  :mode "\\.swift\\'"
  :if (eq system-type 'darwin))

(use-package lsp-sourcekit
  :if (eq system-type 'darwin)
  :config
  (setq lsp-sourcekit-executable (string-trim (shell-command-to-string "Xcrun --find sourcekit-lsp"))))

(use-package cargo)



(use-package gotest)

;; (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))

(use-package go-mode
  :mode "\\.go\\'"
