Merge remote-tracking branch 'SeerLite/latex-remove-hooks'

This commit is contained in:
Maxime Coste 2021-09-26 10:54:37 +10:00
commit 14e820544a

View File

@ -17,7 +17,7 @@ hook global WinSetOption filetype=latex %(
hook window InsertChar \n -group latex-indent %{ latex-indent-newline }
hook window InsertChar \} -group latex-indent %{ latex-indent-closing-brace }
hook window ModeChange pop:insert:.* -group latex-indent %{ latex-trim-indent }
hook -once -always window WinSetOption filetype=.* %{ remove-hooks latex-indent }
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window latex-indent }
hook window InsertChar \n -group latex-insert latex-insert-on-new-line
)