From ae85bd6a49535c163d75f5f3947bd1f7af4cd409 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Mon, 20 Dec 2021 00:30:58 +0100 Subject: [PATCH] init: Enable deoplete completion for vimtex --- init-plugins-noroot-nolowendbox.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init-plugins-noroot-nolowendbox.vim b/init-plugins-noroot-nolowendbox.vim index eb48f8a..227da01 100644 --- a/init-plugins-noroot-nolowendbox.vim +++ b/init-plugins-noroot-nolowendbox.vim @@ -81,6 +81,10 @@ let s:normal_mode_mappings = [ \ ['r', '', 'noremap'], \ ] +" Have deoplete completion for vimtex (e.g., bibtex entries) +call deoplete#custom#var('omni', 'input_patterns', { + \ 'tex': g:vimtex#re#deoplete + \}) if has('nvim-0.5') set foldexpr=nvim_treesitter#foldexpr() -- 2.30.2