From 5cda0b3410c80094ae573cde168d822737aee783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Fri, 1 Apr 2016 10:21:43 +0200 Subject: [PATCH] Fixed #402: /usr/bin/perl instead of perl --- autoload/vimtex/latexmk.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimtex/latexmk.vim b/autoload/vimtex/latexmk.vim index a82eaf3..32e866c 100644 --- a/autoload/vimtex/latexmk.vim +++ b/autoload/vimtex/latexmk.vim @@ -524,7 +524,7 @@ function! s:latexmk_set_pid() " {{{1 let pidinfo = split(system(pidcmd), '\n')[-1] let b:vimtex.pid = str2nr(split(pidinfo,'\s\+')[1]) else - let b:vimtex.pid = str2nr(system('pgrep -nf "^perl.*latexmk"')[:-2]) + let b:vimtex.pid = str2nr(system('pgrep -nf "perl.*latexmk"')[:-2]) endif endfunction