doom: add direnv, fix format on save

This commit is contained in:
Julian Mutter 2023-10-02 12:26:09 +02:00
parent 64cf4835cf
commit c3f69e0b0c
2 changed files with 3 additions and 2 deletions

View File

@ -60,7 +60,8 @@
(interactive) (interactive)
(company-abort) (company-abort)
(evil-force-normal-state) (evil-force-normal-state)
(without-minibuffer '+format/buffer) ; Skip if no formatter is defined (e.g. in text mode) ;; (without-minibuffer '+format/buffer) ; Skip if no formatter is defined (e.g. in text mode)
(+format/buffer) ; Skip if no formatter is defined (e.g. in text mode)
(save-buffer)) (save-buffer))
(defmacro without-minibuffer (&rest body) (defmacro without-minibuffer (&rest body)

View File

@ -88,7 +88,7 @@
ansible ansible
biblio ; Writes a PhD for you (citation needed) biblio ; Writes a PhD for you (citation needed)
(debugger +lsp) ; FIXME stepping through code, to help you add bugs (debugger +lsp) ; FIXME stepping through code, to help you add bugs
;;direnv direnv
docker docker
;;editorconfig ; let someone else argue about tabs vs spaces ;;editorconfig ; let someone else argue about tabs vs spaces
ein ; tame Jupyter notebooks with emacs ein ; tame Jupyter notebooks with emacs