Minor update (#370)

This commit is contained in:
Karl Yngve Lervåg 2016-02-17 11:31:53 +01:00
parent ba8956d8fa
commit 43a0399d90

View File

@ -1375,10 +1375,10 @@ Autocomplete~
*vimtex-complete-auto*
Vim does not provide automatic completion by itself, but there exist at least
two good plugins that provide this: |neocomplete| and |youcompleteme|.
Moreover, there is |VimCompletesMe| that overrides <tab> to trigger different
built-in completions, such as the omni-completion by vimtex, depending on the
context. See below for descriptions on how to setup these with |vimtex|.
two good plugins that provide this: |neocomplete| and |youcompleteme|. Moreover,
there is |VimCompletesMe| that overrides <tab> to trigger different built-in
completions, such as the omni-completion by vimtex, depending on the context.
See below for descriptions on how to setup these with |vimtex|.
neocomplete~
*vimtex-complete-neocomplete*
@ -1425,15 +1425,15 @@ To enable automatic completion with |youcompleteme|, use the following options:
\ ]
<
VimCompletesMe~
*vimtex-complete-vcm*
A plugin that overrides <tab> to trigger the built-in completion that is
most suitable to the current contex. The plugin is available here:
*vimtex-complete-vcm*
A plugin that maps <tab> to trigger the built-in completion that is most
suitable to the current contex. The plugin is available here:
https://github.com/ajh17/VimCompletesMe.
The following options may be used to enable automatic completion for LaTeX
documents with |VimCompletesMe| and |vimtex|s omni completion function: >
The following options may be used to enable completion with the <tab> trigger
for LaTeX documents with |VimCompletesMe| and |vimtex|s omni completion function: >
augroup VimCompletesMeTex
augroup VimCompletesMeTex
autocmd!
autocmd FileType tex let b:vcm_omni_pattern =
\ '\v\\%('
@ -1441,7 +1441,7 @@ augroup VimCompletesMeTex
\ . '|includegraphics%(\s*\[[^]]*\])?\s*\{[^{}]*'
\ . '|%(include%(only)?|input)\s*\{[^{}]*'
\ . ')$'
augroup END
augroup END
<
==============================================================================
FOLDING *vimtex-folding*