diff --git a/desktop/configs/emacs/custom-file.el b/desktop/configs/emacs/custom-file.el index e815418..c88e9af 100644 --- a/desktop/configs/emacs/custom-file.el +++ b/desktop/configs/emacs/custom-file.el @@ -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. diff --git a/desktop/configs/emacs/init.el b/desktop/configs/emacs/init.el index 4c74ed1..6d3cbb4 100644 --- a/desktop/configs/emacs/init.el +++ b/desktop/configs/emacs/init.el @@ -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)