From a39516e0dd6a2dec8d6fcf35371f540d7c0a7a93 Mon Sep 17 00:00:00 2001 From: SeerLite Date: Sun, 12 Sep 2021 17:31:12 -0300 Subject: [PATCH] rc latex: Add missing scope arg to remove-hooks --- rc/filetype/latex.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/latex.kak b/rc/filetype/latex.kak index 98b64028..a3c05d51 100644 --- a/rc/filetype/latex.kak +++ b/rc/filetype/latex.kak @@ -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 )