From 0ee8057f1e14928f8144b5ab044ac9cacbd9bfd7 Mon Sep 17 00:00:00 2001 From: Tsung-Ju Chiang <71379180+tsung-ju@users.noreply.github.com> Date: Sun, 1 May 2022 19:44:52 -0400 Subject: [PATCH] doc: add config guide for MUcomplete --- doc/vimtex.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/vimtex.txt b/doc/vimtex.txt index 5ec38f6c09..22e8309b99 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -65,6 +65,7 @@ CONTENTS *vimtex-contents* VimCompletesMe |vimtex-complete-vcm| nvim-cmp |vimtex-complete-nvim-cmp| nvim-compe |vimtex-complete-nvim-compe| + MUcomplete |vimtex-complete-mucomplete| Folding |vimtex-folding| Indentation |vimtex-indent| Syntax highlighting |vimtex-syntax| @@ -4139,6 +4140,19 @@ And in Vimscript, it should look something like this: > \ } \} +MUcomplete~ + *vimtex-complete-mucomplete* +MUcomplete is an implementation of chained (fallback) completion, whereby +several completion methods are attempted one after another until a result is +returned. The plugin is available here: +https://github.com/lifepillar/vim-mucomplete. + +To enable automatic completion with MUcomplete, use the following options: > + + let g:mucomplete#can_complete = {} + let g:mucomplete#can_complete.tex = + \ { 'omni': { t -> t =~# g:vimtex#re#neocomplete . '$' } } + ============================================================================== FOLDING *vimtex-folding* *vimtex-bib-folding*