1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-26 04:52:53 +03:00

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 -once -always window WinSetOption filetype=.* %{ remove-highlighter window/elm }
} }
hook global WinSetOption filetype=elm %{
set-option window formatcmd 'elm-format --stdin'
}
provide-module elm %[ provide-module elm %[
# Highlighters # Highlighters