summaryrefslogtreecommitdiffstats
path: root/ftplugin/latex-box
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-01-24 18:06:22 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-01-24 18:06:22 +0100
commit9a2b4f5cd8bcb03f1344fa9f81b59efb84a91889 (patch)
tree31d8265fcf38ee6f12f3f763acf409fdde03817d /ftplugin/latex-box
parentf211f02d1e53dbb4eada17e999eba81bccaf1fb2 (diff)
downloadvim-polyglot-1.5.1.tar.gz
vim-polyglot-1.5.1.zip
Updatev1.5.1
Diffstat (limited to 'ftplugin/latex-box')
-rw-r--r--ftplugin/latex-box/latexmk.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/latex-box/latexmk.vim b/ftplugin/latex-box/latexmk.vim
index 2ce16d26..dfa55f0e 100644
--- a/ftplugin/latex-box/latexmk.vim
+++ b/ftplugin/latex-box/latexmk.vim
@@ -325,7 +325,7 @@ function! LatexBox_Latexmk(force)
let g:latexmk_running_pids[basepath] = pid
else
let pid = substitute(system('pgrep -f "perl.*'
- \ . mainfile . '"'),'\D','','')
+ \ . mainfile . '" | head -n 1'),'\D','','')
let g:latexmk_running_pids[basepath] = pid
endif
else