mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-25 04:24:48 +03:00
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