Simplify and add emacs config
This commit is contained in:
7
xdg/emacs/modes/go-mode-custom.el
Normal file
7
xdg/emacs/modes/go-mode-custom.el
Normal file
@ -0,0 +1,7 @@
|
||||
;; Bury the compile buffer when finished compiling. Function in lisp/functions.el
|
||||
(add-hook 'compilation-finish-functions 'bury-compile-buffer-if-successful)
|
||||
|
||||
(add-hook 'before-save-hook #'gofmt-before-save)
|
||||
|
||||
;; Define Tab width
|
||||
(setq truncate-lines t)
|
||||
Reference in New Issue
Block a user