AutoYADM commit: 2025-05-17 18:00:06
This commit is contained in:
parent
851e436fb1
commit
cc06c1a9e5
1 changed files with 8 additions and 0 deletions
|
@ -18,3 +18,11 @@ hook global WinSetOption filetype=kak %{
|
|||
# set-option window expandtab false
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=typst %{
|
||||
set-option buffer formatcmd "typstyle --wrap-text"
|
||||
hook -group typst-auto-format window BufWritePre .* format
|
||||
hook -once -always WinSetOption filetype=.* %{
|
||||
unset-option window formatcmd
|
||||
remove-hooks window typst-auto-format
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue