vim: Add quickfix filter for vimtex

This commit is contained in:
Simon Bruder 2020-05-13 23:16:48 +02:00
parent 68f2f64ab6
commit 5b96405628
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -24,11 +24,18 @@ Plug 'mechatroner/rainbow_csv'
Plug 'posva/vim-vue', { 'for': 'vue' }
Plug 'sirtaj/vim-openscad', { 'for': 'openscad' }
Plug 'lervag/vimtex', { 'for': 'tex' }
Plug 'lervag/vimtex'
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
set conceallevel=1
let g:tex_conceal='abdmg'
" this disables some helful warnings that often have a reason why I ignore them
let g:vimtex_quickfix_ignore_filters = [
\'Underfull \\hbox (badness [0-9]*) in paragraph at lines',
\'Overfull \\hbox ([0-9]*.[0-9]*pt too wide) in paragraph at lines',
\'Package hyperref Warning: Token not allowed in a PDF string',
\'Package typearea Warning: Bad type area settings!',
\]
command Vtc VimtexCompile
" Color schemes