diff --git a/.config/kak/autoload/filetype.kak b/.config/kak/autoload/filetype.kak index 421d6fa7..2038f78f 100644 --- a/.config/kak/autoload/filetype.kak +++ b/.config/kak/autoload/filetype.kak @@ -14,10 +14,10 @@ hook global WinSetOption filetype=latex %{ hook -group latex-auto-format window BufWritePre .* %{ try format } - # hook -once -always window WinSetOption filetype=.* %{ - # 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 %{