sillybun / vim-repl

Best REPL environment for Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

g:repl_python_pre_launch_command not working.

ubaldot opened this issue · comments

Describe the bug
If I add let g:repl_python_pre_launch_command = 'source C:/Users/yt75534/Anaconda3/Scripts/activate.bat'
to my .vimrc, then when I open vim I have the following error

image

Desktop (please complete the following information):

  • result of :REPLDebugInfo
 
 #-- INSERT --
VIM-REPL, last update: 2019.8.23
Operation System: Windows
Support python3: 0
Support python: 1
has +terminal: 1
has +timers: 1
2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:22:17) [MSC v.1500 32 bit (Intel)]
['C:\\must>not&exist', 'C:\\Users\\yt75534\\Anaconda3\\Scripts', 'C:\\WINDOWS\\SYSTEM32\\python27.zip', 'C:\\Python27\\Lib', 'C:\\Python27\\DLLs', 'C:\\Python27\\Lib\\lib-tk', 'C:\\Users\\yt75534', 'C:\\Program Files (x86)\\Vim\\vim82', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages', '_vim_path_']
REPL program:
{'vim': 'vim -e', 'perl': ['C:\Users\yt75534\vimfiles\bundle\vim-repl\ftplugin\\perl\\psh'], 'python-debug': 'python3 -m ipdb', 'default': ['ipython'], 'python': ['ipython']}
C:\Users\yt75534\vimfiles\bundle\vim-repl\ftplugin\\perl\\psh for perl is not executable.
python3 for python-debug is not executable.
setted ipython version8.4
REPL exit commands:
{'vim': 'q', 'zsh': 'exit', 'ptpython': 'quit()', 'lua': 'os.exit()', 'default': 'exit', 'bash': 'exit', 'R': 'q()', 'python': 'quit()', 'ipython': 'quit()'}
Current File Type: python
Current Type: ipython
Current Exit Commands: quit()

Additional context
Running on Windows 10.

commented

@ubaldot check out my fork!
Just corrected the same issue (don't prepend source to the bat file)

https://github.com/fdobad/vim-repl