summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/tex.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim
index 6f9bd52..1a43f9e 100644
--- a/vim/ftplugin/tex.vim
+++ b/vim/ftplugin/tex.vim
@@ -19,7 +19,7 @@ endfunction
" evince treats opening the same file twice as meaning 'reload'
function! s:evince()
let l:pdf = '/tmp/' . expand('<afile>:t:r') . '.pdf'
- system('evince ' . l:pdf . ' &')
+ call system('evince ' . l:pdf . ' &')
endfunction
" don't load the pdf if the make failed