AutoYADM commit: 2025-06-13 16:40:15
This commit is contained in:
parent
3aac1523e8
commit
3512091403
2 changed files with 21 additions and 0 deletions
|
@ -8,6 +8,16 @@ hook global WinSetOption filetype=python %{
|
|||
remove-hooks window python-auto-format
|
||||
}
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=latex %{
|
||||
set-option window formatcmd "tex-fmt --stdin"
|
||||
hook -group latex-auto-format window BufWritePre .* try { format }
|
||||
hook -once -always WinSetOption filetype=.* %{
|
||||
unset-option window formatcmd
|
||||
remove-hooks window latex-auto-format
|
||||
}
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=go %{
|
||||
# set-option window expandtab false
|
||||
# set-option window softtabstop 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue