Use elm-format for formatcmd in Elm
This commit is contained in:
parent
7438f23b9b
commit
3232ba8a4c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user