From 9fa256152db3a15584b38b49b331d65322fa6215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Sat, 11 Sep 2021 18:09:06 +0200 Subject: [PATCH] fix: regression bug after 00ed2f1 refer: #2166 --- syntax/tex.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/tex.vim b/syntax/tex.vim index 529fabe221..2e150b0a08 100644 --- a/syntax/tex.vim +++ b/syntax/tex.vim @@ -40,8 +40,8 @@ endif " was not already done). augroup vimtex_syntax autocmd! * - autocmd User VimtexEventInitPost call vimtex#syntax#core#init_post() autocmd ColorScheme * call vimtex#syntax#core#init_highlights() + autocmd! User VimtexEventInitPost call vimtex#syntax#core#init_post() augroup END unlet s:is_loading