Advise go-import-around with normal go command
This commit is contained in:
parent
3b1db347a9
commit
45c7bdc7b7
@ -2327,12 +2327,12 @@ items follow a style that is consistent with other prog-modes."
|
||||
(set (make-local-variable 'company-backends) '(company-go))))
|
||||
:config
|
||||
(progn
|
||||
(advice-remove 'imalison:let-advise-around 'go-guru-defintion)
|
||||
(advice-add 'go-guru-definition :around 'imalison:advise-normal-go-command)
|
||||
(advice-add 'go-guru-definition :before
|
||||
(lambda ()
|
||||
(with-no-warnings
|
||||
(ring-insert find-tag-marker-ring (point-marker)))))
|
||||
(advice-add 'go-import-add :around 'imalison:advise-normal-go-command)
|
||||
(use-package company-go
|
||||
:config (setq company-go-show-annotation t))
|
||||
(use-package go-projectile)
|
||||
|
Loading…
Reference in New Issue
Block a user