From 6d8a9edeafb3424ed30bb7110736deb2447f0a00 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Sat, 28 Mar 2020 16:34:07 -0700 Subject: Fix tex issues --- .config/nvim/init.vim | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index c1cebed..99041c0 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -43,21 +43,21 @@ set showcmd let g:ycm_autoclose_preview_window_after_completion=1 " TeX - Plug 'lervag/vimtex' + Plug 'lervag/vimtex', {'for': 'tex'} let g:tex_flavor='latex' let g:vimtex_view_method=$READER let g:vimtex_quickfix_mode=0 - Plug 'KeitaNakamura/tex-conceal.vim' - set conceallevel=0 + Plug 'KeitaNakamura/tex-conceal.vim', {'for': 'tex'} + set conceallevel=2 let g:tex_conceal="abdgm" " Python - Plug 'tmhedberg/SimpylFold' + Plug 'tmhedberg/SimpylFold', {'for': 'py'} let g:SympylFold_docstring_preview=1 - Plug 'vim-scripts/indentpython.vim' - Plug 'jmcantrell/vim-virtualenv' - Plug 'Yggdroot/indentLine' - Plug 'nvie/vim-flake8' + Plug 'vim-scripts/indentpython.vim', {'for': 'py'} + Plug 'jmcantrell/vim-virtualenv', {'for': 'py'} + Plug 'Yggdroot/indentLine', {'for': 'py'} + Plug 'nvie/vim-flake8', {'for': 'py'} " Syntax Plug 'vim-syntastic/syntastic' @@ -68,9 +68,9 @@ set showcmd let g:syntastic_auto_loc_list=1 let g:syntastic_check_on_open=1 let g:syntastic_check_on_wq=0 - let g:syntastic_latex_lacheck_quiet_messsages={ - \ "!level": "errors", - \ "regex": 'possible'} + let g:syntastic_tex_lacheck_quiet_messages = {'regex': '\Vpossible unwanted space at'} + let g:syntastic_tex_chktex_quiet_messages = {'level': 'warnings'} + call plug#end() "" Commands for plug. " PlugInstall [name ...] [#threads] Install plugins -- cgit v1.2.3-70-g09d2