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:
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 -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
|
||||||
|
Loading…
Reference in New Issue
Block a user