From 12ba4a92d0732cfb2e74a982714882dbe3d3f347 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 14 Dec 2019 14:35:52 +0300 Subject: [PATCH] Vim 8.2 makeprg does not inherit PATH --- vim/.vim/ftplugin/python/pep8.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/.vim/ftplugin/python/pep8.vim b/vim/.vim/ftplugin/python/pep8.vim index 5570eb6..7143e75 100644 --- a/vim/.vim/ftplugin/python/pep8.vim +++ b/vim/.vim/ftplugin/python/pep8.vim @@ -6,7 +6,7 @@ sign define P8 text=P8 texthl=Error function! s:pep8() - set makeprg=pycodestyle\ --select=E,W\ % + set makeprg=PATH=$PATH\ pycodestyle\ --select=E,W\ % silent make sign unplace * let l:id = 1 -- 2.44.0