Browse Source

Fix

master
10sr 5 years ago
parent
commit
693c06940c
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      emacs.el

+ 1
- 1
emacs.el View File

@@ -1283,7 +1283,7 @@ found, otherwise returns nil."
(add-hook 'go-mode-hook (add-hook 'go-mode-hook
(lambda() (lambda()
(defvar go-mode-map) (defvar go-mode-map)
(add-hook 'before-save-hook' 'gofmt-before-save)
(add-hook 'before-save-hook' 'gofmt-before-save nil t)
(define-key go-mode-map (kbd "M-.") 'godef-jump))) (define-key go-mode-map (kbd "M-.") 'godef-jump)))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Loading…
Cancel
Save