Remove erroneous use of fnameescape (fixes #110)

This commit is contained in:
Karl Yngve Lervåg 2015-02-04 12:17:45 +01:00
parent 241ea89117
commit 7782ac6452

View File

@ -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