AutoYADM commit: 2025-05-14 18:51:01
This commit is contained in:
parent
975218fd1d
commit
85cf8cde55
1 changed files with 5 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
||||||
hook global WinSetOption filetype=markdown %{
|
hook global WinSetOption filetype=markdown %{
|
||||||
hook -group markdown-auto-format window BufWritePre .* format
|
|
||||||
set-option window formatcmd "dprint fmt --stdin md"
|
set-option window formatcmd "dprint fmt --stdin md"
|
||||||
|
hook -group markdown-auto-format window BufWritePre .* format
|
||||||
|
|
||||||
hook -once -always WinSetOption filetype=.* %{
|
# hook -once -always WinSetOption filetype=.* %{
|
||||||
unset-option window formatcmd
|
# unset-option window formatcmd
|
||||||
remove-hooks window markdown-auto-format
|
# remove-hooks window markdown-auto-format
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue