mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:17:35 +00:00
Add neomake makers for pytest and tox
This commit is contained in:
parent
c530562b12
commit
843e531fda
@ -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,
|
||||||
|
\ }
|
||||||
|
Loading…
Reference in New Issue
Block a user