Fix elixir formatting

This commit is contained in:
Lizzy Hunt 2023-03-16 12:54:30 -06:00
parent 8ee52d9aa9
commit 7afc838c07
No known key found for this signature in database
GPG Key ID: 8AC6A4B840C0EC49

View File

@ -280,7 +280,10 @@
#+BEGIN_SRC emacs-lisp
(use-package elixir-mode
:ensure t
:hook ((before-save . elixir-format)))
:hook ((before-save .
(lambda ()
(when (eq major-mode 'elixir-mode)
(elixir-format))))))
#+END_SRC
*** Rust
After installing the ~rust-analyzer~ program, the following can be used: