dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 2a59d5dbe1398c2661e0bbf3852c637064054d91
parent 51e62b56b2f551f6ad7169b5282a7bfa3a185f9e
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Fri, 21 Sep 2018 11:31:09 -0400

Use pipenv for python &makeprg if available

Diffstat:
M.vim/after/ftplugin/python.vim | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.vim/after/ftplugin/python.vim b/.vim/after/ftplugin/python.vim @@ -3,3 +3,8 @@ setlocal fo+=tr " Always set the compiler compiler pylint + +" Check if Pipenv is available, and adjust makeprg if it is +if(filereadable('Pipfile')) + let &makeprg= 'pipenv run '.&makeprg +endif