-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python REPL error #280
Comments
@strboul can you give an example, please? |
I don't have a custom let g:neoterm_default_mod="belowright"
let g:neoterm_size=16
let g:neoterm_autoscroll=1
let g:neoterm_direct_open_repl=1
" Calling :Tclose or :Ttoggle kills the terminal
let g:neoterm_keep_term_open=0
" Set REPLs
if executable("radian")
let g:neoterm_repl_r="radian"
endif
" send current line and move down
nnoremap <silent><leader><cr> :TREPLSendLine<cr>j
" send current selection
" ('> goes to the last selected Visual area in the current buffer)
vnoremap <silent><leader><cr> :TREPLSendSelection<cr>'>j
" toggle terminal
nnoremap <silent><c-t><c-t> :Ttoggle<CR>
tnoremap <silent><c-t><c-t> <C-\><C-n>:Ttoggle<CR> |
I'm not a python dev, the simple hello world worked on my machine. Can you give me a longer piece of code for tests, please? |
I cannot start a python REPL (via command -v python3
# /usr/local/bin/python3
command -v python
# /usr/bin/python
command -v ipython3
# /usr/local/bin/ipython3
command -v ipython
# /usr/local/bin/ipython Edit: No luck when I add the Edit2: The problem is only with the Python REPL. Other REPLs are working. |
Never used the Edit: The error has apparently occurred with commit f6c6ce0Y. I'll take a closer look at that tomorrow. Edit2:
Since the variable g: neoterm_repl_command has changed from a string to a list, I thought that |
I'm having this issue all of a sudden as well. Fixed by reverting to e011fa1 |
Oh man I actually already had the bug ... I just didn't notice that there is both a |
It should be fixed now, let me know if you have any other problem. |
Describe the bug
Get an error when using
:TREPLSendLine
from a Python file:Most likely, the bug is introduced in this PR #273
Versions (please complete the following information):
c59657b
NVIM v0.4.3
The text was updated successfully, but these errors were encountered: