AutoYADM commit: 2025-06-24 13:20:26

This commit is contained in:
Daniel Fichtinger 2025-06-24 13:20:26 -04:00
parent 0ecfcf45e9
commit edbe67ebb1

View file

@ -1,7 +1,10 @@
hook global WinSetOption filetype=markdown %{ hook global WinSetOption filetype=markdown %{
# explicitly load to avoid race condition # explicitly load to avoid race condition
require-module markdown require-module markdown
set-option window formatcmd "dprint fmt --stdin md" # set-option window formatcmd "dprint fmt --stdin md"
set-option window formatcmd %{
dprint fmt --stdin md || dprint fmt --stdin md --config "$HOME/.dprint.jsonc" -L info
}
hook -group markdown-auto-format window BufWritePre .* format hook -group markdown-auto-format window BufWritePre .* format
# override formatting commands # override formatting commands