AutoYADM commit: 2025-06-14 19:40:14
This commit is contained in:
parent
4a1c3c9335
commit
45a303f342
1 changed files with 6 additions and 4 deletions
|
@ -11,11 +11,13 @@ hook global WinSetOption filetype=python %{
|
||||||
|
|
||||||
hook global WinSetOption filetype=latex %{
|
hook global WinSetOption filetype=latex %{
|
||||||
set-option window formatcmd "tex-fmt --stdin"
|
set-option window formatcmd "tex-fmt --stdin"
|
||||||
hook -group latex-auto-format window BufWritePre .* try { format }
|
hook -group latex-auto-format window BufWritePre .* %{
|
||||||
hook -once -always WinSetOption filetype=.* %{
|
try format
|
||||||
unset-option window formatcmd
|
|
||||||
remove-hooks window latex-auto-format
|
|
||||||
}
|
}
|
||||||
|
# hook -once -always window WinSetOption filetype=.* %{
|
||||||
|
# unset-option window formatcmd
|
||||||
|
# remove-hooks window latex-auto-format
|
||||||
|
# }
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=go %{
|
hook global WinSetOption filetype=go %{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue