feat(format): add :lang erlang formatter

This commit is contained in:
Ellis Kenyő 2022-08-16 08:16:08 +01:00 committed by Ellis Kenyo
parent f80f52ba4f
commit a9b4f6e219
No known key found for this signature in database
GPG key ID: 298BE5D997EBAA02
2 changed files with 6 additions and 0 deletions

View file

@ -4,3 +4,7 @@
(assert! (or (not (modulep! +lsp))
(modulep! :tools lsp))
"This module requires (:tools lsp)")
(when (modulep! :editor format)
(unless (executable-find "efmt")
(warn! "Couldn't find efmt. Formatting will be disabled.")))