AutoYADM commit: 2025-07-07 15:04:01
This commit is contained in:
parent
9e52556703
commit
6e35eb0210
2 changed files with 6 additions and 5 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue