mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-07 06:27:38 +00:00
Neoterm stuff only for nvim
This commit is contained in:
parent
ee774a65e9
commit
7221f87639
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user