summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-03-03 00:59:52 -0500
committerJesse Luehrs <doy@tozt.net>2018-03-03 01:04:21 -0500
commit65aa0edfd422640be602273aed452deb69e46d3f (patch)
tree1ef1d884a2707187bb23494f33717f2dc1eea8e2 /vim
parent2866b0636dfb4dbc76f01b18a23f82f4b5bbe75f (diff)
downloadconf-65aa0edfd422640be602273aed452deb69e46d3f.tar.gz
conf-65aa0edfd422640be602273aed452deb69e46d3f.zip
fix pdf viewing in evince in my latex plugin
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