projects
/
vimconf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
init: Enable deoplete completion for vimtex
[vimconf.git]
/
init-plugins-noroot-nolowendbox.vim
diff --git
a/init-plugins-noroot-nolowendbox.vim
b/init-plugins-noroot-nolowendbox.vim
index eb48f8a5af6cb663477b03cd345652d3ddb38211..227da01d516f10d6b10b0e7f5e1682cb64528eed 100644
(file)
--- a/
init-plugins-noroot-nolowendbox.vim
+++ b/
init-plugins-noroot-nolowendbox.vim
@@
-81,6
+81,10
@@
let s:normal_mode_mappings = [
\ ['r', '<denite:redraw>', 'noremap'],
\ ]
\ ['r', '<denite:redraw>', '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()
if has('nvim-0.5')
set foldexpr=nvim_treesitter#foldexpr()