sillybun / vim-repl

Best REPL environment for Vim
GNU General Public License v2.0
446 stars 39 forks source link

When the terminal is gone, it will never come back. #140

Closed ubaldot closed 2 years ago

ubaldot commented 2 years ago

Describe the bug Either by using :REPLToggle or :REPLHide the REPL disappear as it should be. The problem is that by running again :REPLToggle or by running :REPLUnhide the REPL won't come back.

How to get it back?

Desktop (please complete the following information):

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', '_vimpath'] 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. 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: vim Current Type: vim -e Current Exit Commands: q No matching autocommands: User AirlineBeforeRefresh No matching autocommands: User AirlineBeforeRefresh

**Additional context**
Running `Windows 10`, `Anaconda 64 bit`, `Python 3.9.12` and this is my `vim --version`

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 21 2021 22:12:47) MS-Windows 32-bit GUI version with OLE support Included patches: 1-3452 Compiled by appveyor@APPVYR-WIN Huge version with GUI. Features included (+) or not (-): +acl +cindent +cursorshape -farsi +job +menu +packages +reltime -sun_workshop -tgetent +vreplace +arabic +clientserver +dialog_con_gui +file_in_path +jumplist +mksession +path_extra +rightleft +syntax +timers -vtp +autocmd +clipboard +diff +find_in_path +keymap +modify_fname +perl/dyn +ruby/dyn +tag_binary +title +wildignore +autochdir +cmdline_compl +digraphs +float +lambda +mouse +persistent_undo +scrollbind -tag_old_static +toolbar +wildmenu +autoservername +cmdline_hist +directx +folding +langmap +mouseshape +popupwin +signs -tag_any_white +user_commands +windows +balloon_eval +cmdline_info -dnd -footer +libcall +multi_byte_ime/dyn -postscript +smartindent +tcl/dyn +vartabs +writebackup -balloon_eval_term +comments -ebcdic +gettext/dyn +linebreak +multi_lang +printer -sodium -termguicolors +vertsplit -xfontset +browse +conceal +emacs_tags -hangul_input +lispindent +mzscheme/dyn +profile +sound +terminal +virtualedit -xim ++builtin_terms +cryptv +eval +iconv/dyn +listcmds +netbeans_intg +python/dyn +spell -termresponse +visual +xpm_w32 +byte_offset +cscope +ex_extra +insert_expand +localmap +num64 +python3/dyn +startuptime +textobjects +visualextra -xterm_save +channel +cursorbind +extra_search +ipv6 +lua/dyn +ole +quickfix +statusline +textprop +viminfo
system vimrc file: "$VIM\vimrc" user vimrc file: "$HOME_vimrc" 2nd user vimrc file: "$HOME\vimfiles\vimrc" 3rd user vimrc file: "$VIM_vimrc" user exrc file: "$HOME_exrc" 2nd user exrc file: "$VIM_exrc" system gvimrc file: "$VIM\gvimrc" user gvimrc file: "$HOME_gvimrc" 2nd user gvimrc file: "$HOME\vimfiles\gvimrc" 3rd user gvimrc file: "$VIM_gvimrc" defaults file: "$VIMRUNTIME\defaults.vim" system menu file: "$VIMRUNTIME\menu.vim" Compilation: cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DFEAT_XPM_W32 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /arch:IA32 /Zl /MT /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86t.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python39.dll\" -DFEAT_MZSCHEME -I "C:\Program Files (x86)\Racket\include" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracket3m_a36fs8.dll\" -DDYNAMIC_MZGC_DLL=\"libracket3m_a36fs8.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl528.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby240.dll\" -DRUBY_VERSION=24 -DFEAT_HUGE /Fd.\ObjGXOULYHTRZi386/ /Zi Linking: link /nologo /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:i386 gdi32.lib version.lib winspool.lib comctl32.lib advapi32.lib shell32.lib netapi32.lib /machine:i386 libcmt.lib oleaut32.lib user32.lib /nodefaultlib:lua53.lib /STACK:8388608 /nodefaultlib:python27.lib /nodefaultlib:python39.lib "C:\Tcl\lib\tclstub86.lib" winmm.lib WSock32.lib Ws2_32.lib xpm\x86\lib-vc14\libXpm.lib /PDB:gvim.pdb -debug