diff --git a/.config/kak/autoload/filetype/markdown.kak b/.config/kak/autoload/filetype/markdown.kak index bd9cdf8b..3aeffe8f 100644 --- a/.config/kak/autoload/filetype/markdown.kak +++ b/.config/kak/autoload/filetype/markdown.kak @@ -1,4 +1,6 @@ hook global WinSetOption filetype=markdown %{ + # explicitly load to avoid race condition + require-module markdown set-option window formatcmd "dprint fmt --stdin md" hook -group markdown-auto-format window BufWritePre .* format