Neoterm stuff only for nvim

This commit is contained in:
ViViDboarder 2015-10-26 10:25:25 -07:00
parent ee774a65e9
commit 7221f87639
1 changed files with 10 additions and 7 deletions

View File

@ -1,10 +1,13 @@
au VimEnter,BufRead,BufNewFile *.py
\ if executable('ipython') |
\ call neoterm#repl#set('ipython') |
\ endif |
\ if executable('pytest') |
\ call neoterm#test#libs#add('pytest') |
\ endif
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',