diff options
-rw-r--r-- | emacs/custom/my-prog.el | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/emacs/custom/my-prog.el b/emacs/custom/my-prog.el index 8994060..9146d2d 100644 --- a/emacs/custom/my-prog.el +++ b/emacs/custom/my-prog.el @@ -109,12 +109,25 @@ :after (eglot) :ensure t :hook ((before-save . gofmt-before-save)) + :bind (:map go-mode-map + ("C-c C-n" . go-run) + ("C-c C-c" . go-coverage) + ("C-c ." . go-test-current-test) + ("C-c C-f" . go-test-current-file) + ("C-c C-p" . go-test-current-project)) + :commands (go-run + go-coverage + go-test-current-test + go-test-current-file + go-test-current-project) :custom (tab-width 4)) (use-package gotest + :ensure t :after (go-mode) - :ensure t) + :custom + (go-test-verbose t)) (use-package lisp-mode :bind |