From 0cd1f7dbf8ec4ca26e21f98aba8a59f9d1fbe58a Mon Sep 17 00:00:00 2001 From: jac lou hoo Date: Mon, 29 Mar 2021 13:53:02 -0400 Subject: [PATCH] update example using VimtexClean upon quit The example is using some outdated function (I think). I wanted to get the behaviour described, and I got it using `VimtexClean` instead of `call vimtex#compiler#clean(0)` which didn't do anything (as I don't think that function exists?) --- doc/vimtex.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/vimtex.txt b/doc/vimtex.txt index ed7cdd3bab..a46844ec5b 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -3362,8 +3362,8 @@ Examples: > " Compile on initialization, cleanup on quit augroup vimtex_event_1 au! - au User VimtexEventQuit call vimtex#compiler#clean(0) - au User VimtexEventInitPost call vimtex#compiler#compile() + au User VimtexEventQuit VimtexClean + au User VimtexEventInitPost VimtexCompile augroup END " Close viewers when VimTeX buffers are closed