Use elm-format for formatcmd in Elm

This commit is contained in:
lePerdu 2019-11-10 18:11:36 -05:00
parent 7438f23b9b
commit 3232ba8a4c

View File

@ -25,6 +25,11 @@ hook -group elm-highlight global WinSetOption filetype=elm %{
hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/elm }
}
hook global WinSetOption filetype=elm %{
set-option window formatcmd 'elm-format --stdin'
}
provide-module elm %[
# Highlighters