From: Stefan Huber Date: Sun, 19 Dec 2021 23:30:58 +0000 (+0100) Subject: init: Enable deoplete completion for vimtex X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=ae85bd6a49535c163d75f5f3947bd1f7af4cd409;p=vimconf.git init: Enable deoplete completion for vimtex --- 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()