Closed ghost closed 8 years ago
It's quite possible that Neovim has a stronger separation between parsing and execution than vim. You can try replacing the line (line 116) exec s:python_until_eof
with python << EOF
and see if that helps.
Huh. That's stopped the error messages, but I only have syntax highlighting. None of the commands are even defined.
This sounds like you don't have Python (or at least Python 2) support. I would make sure that plugin is enabled and that you have Python 2 installed.
No, I do have the python 2 executable installed (which is what you mean, right?). I think Neovim is not loading the plugin for some reason, which is odd because I thought Neovim didn't change Vimscript at all.
I'm not sure I have the willpower to persist at trying to fix this.
It looks like Neovim requires some extra steps for Python support to work: http://stackoverflow.com/questions/31902197/support-doesnt-work I don't use Neovim, so I can't verify if these will help.
When I open up an Agda file in Neovim with agda-vim, I immediately get this:
This lines of code are in the Python bit of
agda.vim
, so it looks like Neovim is parsing the Python as Vimscript. Do you know why?Thanks, Tom