fix(erlang): remove executable-find formatter check
This commit is contained in:
parent
9c2d0b00d7
commit
c6291ecfc0
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@
|
|||
:mode ("/rebar\\.config\\(?:\\.script\\)?\\'" . erlang-mode)
|
||||
:mode ("/\\(?:app\\|sys\\)\\.config\\'" . erlang-mode)
|
||||
:config
|
||||
(when (executable-find "efmt")
|
||||
(set-formatter! 'efmt '("efmt" "-") :modes '(erlang-mode)))
|
||||
(set-formatter! 'efmt '("efmt" "-") :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