mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-18 02:36:26 +00:00
23 lines
501 B
VimL
23 lines
501 B
VimL
if has('nvim')
|
|
au VimEnter,BufRead,BufNewFile *.py
|
|
\ if executable('ipython') |
|
|
\ call neoterm#repl#set('ipython') |
|
|
\ endif |
|
|
\ if executable('pytest') |
|
|
\ call neoterm#test#libs#add('pytest') |
|
|
\ endif
|
|
command! Tox :T tox<CR>
|
|
endif
|
|
|
|
let g:neomake_python_pytest_maker = {
|
|
\ 'exe': 'py.test',
|
|
\ 'errorformat': &errorformat,
|
|
\ }
|
|
|
|
let g:neomake_python_tox_maker = {
|
|
\ 'exe': 'tox',
|
|
\ 'errorformat': &errorformat,
|
|
\ }
|
|
|
|
|