Fix silly mistake

This commit is contained in:
Karl Yngve Lervåg 2016-02-18 08:08:49 +01:00
parent 6cf055f9ae
commit bea99a59e8
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ endfunction
" {{{1 Labels
let s:ref = {
\ 'pattern' : '\v\\v?%(auto|eq|[cC]?%(page)?|labelc)?ref%(\s*\{[^}]*|range\s*\{[^,{}]*%(\{\})?)',
\ 'pattern' : '\v\\v?%(auto|eq|[cC]?%(page)?|labelc)?ref%(\s*\{[^}]*|range\s*\{[^,{}]*%(\}\{)?)',
\ 'enabled' : 1,
\}

View File

@ -1394,7 +1394,7 @@ documents with |neocomplete| and |vimtex|s omni completion function: >
let g:neocomplete#sources#omni#input_patterns.tex =
\ '\v\\%('
\ . '\a*cite\a*%(\s*\[[^]]*\]){0,2}\s*\{[^}]*'
\ . '|\a*ref%(\s*\{[^}]*|range\s*\{[^,}]*%(\{\})?)'
\ . '|\a*ref%(\s*\{[^}]*|range\s*\{[^,}]*%(\}\{)?)'
\ . '|includegraphics\*?%(\s*\[[^]]*\]){0,2}\s*\{[^}]*'
\ . '|%(include%(only)?|input)\s*\{[^}]*'
\ . ')'