From fe160fa46682b9d6f2625cbd28172de8840bcda1 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 4 Apr 2021 16:27:02 +0300 Subject: vimrc: vimtex config --- .config/nvim/init.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/nvim/init.vim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b9dc5e2..49a061d 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -4,7 +4,10 @@ let g:polyglot_disabled=['latex', 'tex'] call plug#begin('~/.local/share/nvim/plugged') " latex " had to move vimtex to top to avoid a difficult error -Plug 'lervag/vimtex' +Plug 'lervag/vimtex', { 'for': ['tex', 'latex', 'plaintex']} +autocmd User vimtex call deoplete#custom#var('omni', 'input_patterns', { + \ 'tex': g:vimtex#re#deoplete + \}) " Vimscript debugger " Plug 'vim-scripts/Decho' -- cgit v1.2.3-70-g09d2