rc latex: Add missing scope arg to remove-hooks

This commit is contained in:
SeerLite 2021-09-12 17:31:12 -03:00
parent b3a1017a26
commit a39516e0dd

View File

@ -17,7 +17,7 @@ hook global WinSetOption filetype=latex %(
hook window InsertChar \n -group latex-indent %{ latex-indent-newline } hook window InsertChar \n -group latex-indent %{ latex-indent-newline }
hook window InsertChar \} -group latex-indent %{ latex-indent-closing-brace } hook window InsertChar \} -group latex-indent %{ latex-indent-closing-brace }
hook window ModeChange pop:insert:.* -group latex-indent %{ latex-trim-indent } 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 hook window InsertChar \n -group latex-insert latex-insert-on-new-line
) )