Skip to content
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

Compatibility with Neovim #8

Open
JulioJu opened this issue May 2, 2019 · 1 comment
Open

Compatibility with Neovim #8

JulioJu opened this issue May 2, 2019 · 1 comment

Comments

@JulioJu
Copy link

JulioJu commented May 2, 2019

Hi !

Actually this plugin is not compatible with Neovim, even if with a simple vimrc.

Actually, when we press enter twice in a link GET http://google.fr, the second time we have an error.

Error detected while processing function roast#run[1]..provider#python3#Call:                                                                                                         
line   18:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/julioprayer/.vim/plugged/roast.vim/python3/roast.py", line 39, in run
    show_response(response)
  File "/home/julioprayer/.vim/plugged/roast.vim/python3/roast.py", line 49, in show_response
    workspace_renderer = window.buffer.vars['_roast_renderer'].decode()
AttributeError: 'str' object has no attribute 'decode'

Furthermore <c-j> doesn't work:

Error detected while processing function provider#python3#Call:                                                                                                                        
line   18:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/julioprayer/.vim/plugged/roast.vim/python3/roast.py", line 111, in next_render
    renderer = vim.current.buffer.vars['_roast_renderer'].decode()
AttributeError: 'str' object has no attribute 'decode'

Please, could you implement compatibility with Neovim ? As Neovim is very better than Vim, it could be very cool… Actually I use Vim instead of Neovim to use your pluggin, but Vim lack lot of features (terminal less good, no floating window, no live search and replace, etc.)

Thanks a lot in advance :-)

@sharat87
Copy link
Owner

sharat87 commented May 3, 2019

I have this in the after stability features list, but yeah, I do want to do this. Thanks for creating an issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants