diff --git a/autoload/latex/complete.vim b/autoload/latex/complete.vim index e883a48..64fd2e2 100644 --- a/autoload/latex/complete.vim +++ b/autoload/latex/complete.vim @@ -77,7 +77,7 @@ let s:bibtex = 1 let s:completion_type = '' function! latex#complete#labels(regex) " {{{1 - let labels = s:labels_get(fnameescape(g:latex#data[b:latex.id].aux())) + let labels = s:labels_get(g:latex#data[b:latex.id].aux()) let matches = filter(copy(labels), 'v:val[0] =~ ''' . a:regex . '''') " Try to match label and number