add magit i guess
This commit is contained in:
parent
28fee50596
commit
5a9c8cd201
@ -4,7 +4,7 @@
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages
|
||||
'(go-mode yasnippet-snippets yasnippet which-key powerline-evil helm doom-themes corfu company-fuzzy beacon)))
|
||||
'(magit yasnippet-snippets which-key powerline-evil helm go-mode doom-themes corfu company-fuzzy beacon)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
@ -139,7 +139,7 @@
|
||||
;; Optional: install eglot-format-buffer as a save hook.
|
||||
;; The depth of -10 places this before eglot's willSave notification,
|
||||
;; so that that notification reports the actual contents that will be saved.
|
||||
(defun eglot-format-buffer-on-save ()
|
||||
(defun eglot-format-buffer-on-save ()
|
||||
(add-hook 'before-save-hook #'eglot-format-buffer -10 t))
|
||||
(add-hook 'go-mode-hook #'eglot-format-buffer-on-save)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user