diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-05-11 15:05:13 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-05-11 15:05:13 +0200 |
commit | 271b63d71707720ad0d35590b8cb50f8f8f43014 (patch) | |
tree | 1b71daa457afc68465f66ee2afc9a00c1380f23d /ftplugin/latex-box/complete.vim | |
parent | acd7ce59503b22ac7663fc25776efe25e266f1d4 (diff) | |
download | vim-polyglot-1.13.2.tar.gz vim-polyglot-1.13.2.zip |
Updatev1.13.2
Diffstat (limited to 'ftplugin/latex-box/complete.vim')
-rw-r--r-- | ftplugin/latex-box/complete.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ftplugin/latex-box/complete.vim b/ftplugin/latex-box/complete.vim index 0ab8f974..e8befcfc 100644 --- a/ftplugin/latex-box/complete.vim +++ b/ftplugin/latex-box/complete.vim @@ -24,7 +24,7 @@ if !exists('g:LatexBox_cite_pattern') let g:LatexBox_cite_pattern = '\C\\\a*cite\a*\*\?\(\[[^\]]*\]\)*\_\s*{' endif if !exists('g:LatexBox_ref_pattern') - let g:LatexBox_ref_pattern = '\C\\v\?\(eq\|page\|[cC]\|labelc\)\?ref\*\?\_\s*{' + let g:LatexBox_ref_pattern = '\C\\v\?\(eq\|page\|[cC]\|labelc\|name\)\?ref\*\?\_\s*{' endif if !exists('g:LatexBox_completion_environments') @@ -255,14 +255,14 @@ function! LatexBox_BibSearch(regexp) if has('win32') let l:old_shellslash = &l:shellslash setlocal noshellslash - silent execute '! cd ' shellescape(LatexBox_GetTexRoot()) . + call system('cd ' . shellescape(LatexBox_GetTexRoot()) . \ ' & bibtex -terse ' - \ . fnamemodify(auxfile, ':t') . ' >nul' + \ . fnamemodify(auxfile, ':t') . ' >nul') let &l:shellslash = l:old_shellslash else - silent execute '! cd ' shellescape(LatexBox_GetTexRoot()) . + call system('cd ' . shellescape(LatexBox_GetTexRoot()) . \ ' ; bibtex -terse ' - \ . fnamemodify(auxfile, ':t') . ' >/dev/null' + \ . fnamemodify(auxfile, ':t') . ' >/dev/null') endif let lines = split(substitute(join(readfile(bblfile), "\n"), |