home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d405a9f5158c303ee042721fa207c5b3618bb226
parent c220d56ad35d28c3ff455ef4849ffbe0de905b80
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu,  9 Apr 2020 12:15:36 +0200

programming-go.el: re-enable go-mode base

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/programming-go.el | 10++++------
1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/tools/emacs/config/programming-go.el b/tools/emacs/config/programming-go.el @@ -1,6 +1,6 @@ ;;; -*- lexical-binding: t; -*- (use-package go-mode - :disabled + :commands (go-mode) :mode "\\.go$" :interpreter "go" :config @@ -14,21 +14,19 @@ (use-package company-go :after (go-mode company) - :config - (setq company-go-show-annotation t) + (setq-default company-go-show-annotation t) (push 'company-go company-backends)) (use-package flycheck-golangci-lint - :disabled + :commands (flycheck-golangci-lint-setup) :hook (go-mode . flycheck-golangci-lint-setup) :config (setq flycheck-golangci-lint-tests t)) (use-package gotest - :disabled :after go-mode) (use-package gotest-ui - :disabled + :commands (gotest-ui-current-test gotest-ui-current-file gotest-ui-current-project) :after (go-mode gotest) :bind (:map go-mode-map ("C-c t t" . gotest-ui-current-test)