summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-go.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/custom/fcuny-go.el')
-rw-r--r--emacs.d/custom/fcuny-go.el26
1 files changed, 0 insertions, 26 deletions
diff --git a/emacs.d/custom/fcuny-go.el b/emacs.d/custom/fcuny-go.el
deleted file mode 100644
index d925cf6..0000000
--- a/emacs.d/custom/fcuny-go.el
+++ /dev/null
@@ -1,26 +0,0 @@
-(defun fcuny/go-mode-setup ()
-  (setq tab-width 4)
-  (setq comment-auto-fill-only-comments t)
-  (setq fill-column 80)
-  (auto-fill-mode 1))
-
-(use-package go-mode
-  :ensure t
-  :after (exec-path-from-shell flycheck flyspell company hydra)
-  :hook ((go-mode . fcuny/go-mode-setup)
-         (go-mode . lsp-deferred)
-         (before-save . lsp-format-buffer)
-         (before-save . lsp-organize-imports))
-  :config
-  (when (memq window-system '(mac ns))
-    (exec-path-from-shell-copy-env "GOPATH")))
-
-(use-package gotest
-  :ensure t
-  :after go-mode
-  :bind (:map go-mode-map
-              ("C-c ." . go-test-current-test)
-              ("C-c f" . go-test-current-file)
-              ("C-c a" . go-test-current-project)))
-
-(provide 'fcuny-go)