mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Redefine RET key for go-mode to always indent
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
(whitespace-mode)
|
||||
(subword-mode)
|
||||
(setq tab-width 4)
|
||||
(define-key go-mode-map (kbd "RET") 'electric-newline-and-maybe-indent)
|
||||
(define-key go-mode-map (kbd "RET") 'newline-and-indent)
|
||||
)
|
||||
|
||||
(add-hook 'go-mode-hook 'customizations-for-go-mode)
|
||||
|
||||
Reference in New Issue
Block a user