From 843e531fdaaeb603c7c3530cc885fbd1e922a271 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Wed, 8 Nov 2017 13:55:28 -0800 Subject: [PATCH] Add neomake makers for pytest and tox --- vim/rc/plugins/neomake.rc.vim | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/vim/rc/plugins/neomake.rc.vim b/vim/rc/plugins/neomake.rc.vim index a46d7c8..2a4c8fb 100644 --- a/vim/rc/plugins/neomake.rc.vim +++ b/vim/rc/plugins/neomake.rc.vim @@ -1,4 +1,13 @@ Plug 'neomake/neomake' nnoremap :Neomake -let g:neomake_python_enabled_makers = ['flake8'] command! TagsUpdate NeomakeSh ctags -R . + +let g:neomake_python_enabled_makers = ['flake8'] +let g:neomake_python_pytest_maker = { + \ 'exe': 'py.test', + \ 'errorformat': &errorformat, + \ } +let g:neomake_python_tox_maker = { + \ 'exe': 'tox', + \ 'errorformat': &errorformat, + \ }