Auto gofmt emacs
This commit is contained in:
parent
599d3cc741
commit
b3da18ba96
1 changed files with 2 additions and 1 deletions
|
|
@ -149,7 +149,8 @@
|
|||
(add-hook 'go-mode-hook
|
||||
(lambda ()
|
||||
(define-key go-mode-map (kbd "C-c C-f j") 'godef-jump)
|
||||
(define-key go-mode-map (kbd "C-c C-f k") 'godef-jump-other-window)))
|
||||
(define-key go-mode-map (kbd "C-c C-f k") 'godef-jump-other-window)
|
||||
(add-hook 'before-save-hook #'gofmt-before-save)))
|
||||
|
||||
(projectile-global-mode)
|
||||
(setq projectile-completion-system 'helm)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue