projects
/
vimconf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b43577
)
init: Enable deoplete completion for vimtex
author
Stefan Huber <shuber@sthu.org>
Sun, 19 Dec 2021 23:30:58 +0000
(
00:30
+0100)
committer
Stefan Huber <shuber@sthu.org>
Sun, 19 Dec 2021 23:30:58 +0000
(
00:30
+0100)
init-plugins-noroot-nolowendbox.vim
patch
|
blob
|
history
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'],
\ ]
+" 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()