AutoYADM commit: 2025-07-07 15:04:01

This commit is contained in:
Daniel Fichtinger 2025-07-07 15:04:01 -04:00
parent 9e52556703
commit 6e35eb0210
2 changed files with 6 additions and 5 deletions

View file

@ -1,10 +1,10 @@
hook global WinSetOption filetype=python %{
# set-option window expandtab true
# set-option window softtabstop 4
set-option window formatcmd %{
set-option window formatcmd %{
ruff check --select I --fix --stdin-filename $kak_buffile - 2>/dev/null |
ruff format --line-length 74 -
}
}
hook -group python-auto-format window BufWritePre .* %{
try format
}
@ -176,6 +176,7 @@ try %{
remove-highlighter window/show-whitespaces
ui-wrap-disable
ui-scrolloff-disable
map window normal <ret> ': url-open<ret>'
}
} catch %{
set-option window formatcmd 'mailfmt'