Neoterm stuff only for nvim

This commit is contained in:
ViViDboarder 2015-10-26 10:25:25 -07:00
parent ee774a65e9
commit 7221f87639

View File

@ -1,10 +1,13 @@
au VimEnter,BufRead,BufNewFile *.py if has('nvim')
au VimEnter,BufRead,BufNewFile *.py
\ if executable('ipython') | \ if executable('ipython') |
\ call neoterm#repl#set('ipython') | \ call neoterm#repl#set('ipython') |
\ endif | \ endif |
\ if executable('pytest') | \ if executable('pytest') |
\ call neoterm#test#libs#add('pytest') | \ call neoterm#test#libs#add('pytest') |
\ endif \ endif
command! Tox :T tox<CR>
endif
let g:neomake_python_pytest_maker = { let g:neomake_python_pytest_maker = {
\ 'exe': 'py.test', \ 'exe': 'py.test',