From 7c22be8fe35c581146d5a4c2ce4cbf478c5b0352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Fri, 6 Nov 2015 23:43:17 +0100 Subject: [PATCH] Add VimtexInitPost event for custom configuration Addresses #234 --- autoload/vimtex.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autoload/vimtex.vim b/autoload/vimtex.vim index 79f17d5..581b31f 100644 --- a/autoload/vimtex.vim +++ b/autoload/vimtex.vim @@ -64,6 +64,11 @@ function! vimtex#init() " {{{1 " call s:init_mappings() + " + " Allow custom configuration through an event hook + " + doautocmd User VimtexInitPost + let s:initialized = 1 endfunction