How to get rid of W11 when compiling latex using vim-latex-suite

When compiling from vim using latex-suite (with the <leader>ll command), I often get the following error:

W11: Warning: the file "yourLaTeXfile.log" has changed since editing began. For more details see ": Help W11".

How to configure vim / latex-suite to always install autoread log files created by Tex_RunLaTeX() ? Would it be enough to re-map <leader>ll to Tex_RunLaTeX()! or will it introduce any new interesting features?

+6
source share
1 answer

How can I configure vim / latex-suite to always install autoread log files created by Tex_RunLaTeX() ?

Find out what type of file is set for the file:

 :setl filetype? 

Then configure autocmd:

 :autocmd FileType <the-filetype-here> setlocal autoread 

Alternatively, you can also directly define autocmd in the file template :autocmd BufRead *.log ... or add :setlocal autoread directly to the <Leader>ll display.

0
source

Source: https://habr.com/ru/post/956459/


All Articles