Fixed #636: Support for \subref completion

This commit is contained in:
Karl Yngve Lervåg 2016-12-15 19:29:18 +01:00
parent cade17d13e
commit 2b39554f68

View File

@ -244,7 +244,8 @@ endfunction
let s:ref = { let s:ref = {
\ 'patterns' : [ \ 'patterns' : [
\ '\v\\v?%(auto|eq|[cC]?%(page)?|labelc)?ref%(\s*\{[^}]*|range\s*\{[^,{}]*%(\}\{)?)$', \ '\v\\v?%(auto|eq|[cC]?%(page)?|labelc)?ref%(\s*\{[^}]*|range\s*\{[^,{}]*%(\}\{)?)$',
\ '\\hyperref\s*\[[^]]*$' \ '\\hyperref\s*\[[^]]*$',
\ '\\subref\*\?{[^}]*$',
\ ], \ ],
\ 'cache' : {}, \ 'cache' : {},
\ 'labels' : [], \ 'labels' : [],