tweak(erlang): format w/ erlfmt instead of efmt
This commit is contained in:
parent
ed05e4c088
commit
ac1122ae67
3 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
:mode ("/rebar\\.config\\(?:\\.script\\)?\\'" . erlang-mode)
|
||||
:mode ("/\\(?:app\\|sys\\)\\.config\\'" . erlang-mode)
|
||||
:config
|
||||
(set-formatter! 'efmt '("efmt" "-") :modes '(erlang-mode))
|
||||
(set-formatter! 'erlfmt '("rebar3" "fmt" "-") :modes '(erlang-mode))
|
||||
(when (modulep! +lsp)
|
||||
(add-hook 'erlang-mode-local-vars-hook #'lsp! 'append))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue