Add neomake makers for pytest and tox

This commit is contained in:
ViViDboarder 2017-11-08 13:55:28 -08:00
parent c530562b12
commit 843e531fda

View File

@ -1,4 +1,13 @@
Plug 'neomake/neomake' Plug 'neomake/neomake'
nnoremap <F5> :Neomake<CR> nnoremap <F5> :Neomake<CR>
let g:neomake_python_enabled_makers = ['flake8']
command! TagsUpdate NeomakeSh ctags -R . 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,
\ }