heavenshell / vim-pydocstring

Generate Python docstring to your Python source code.
BSD 3-Clause "New" or "Revised" License
337 stars 53 forks source link

Can't get it working with neovim #94

Closed gsellers-tulco closed 4 years ago

gsellers-tulco commented 4 years ago

I tried installing using vim plug: Plug 'heavenshell/vim-pydocstring', { 'do': 'make install' }

but I got this error: doq not found. Install doq

I also checked to see if doq was installed by following the above command (docs made it sound like it would be automatically installed) but it wasn't. So I install doq via pip into my conda environment, but it still returned the same error. I tried setting the path to doq manually, but I'm not super familiar with the vim syntax for doing so, so maybe I got something wrong there.

heavenshell commented 4 years ago

I don't use Vim-plug. This line was from PR. So I think this works fine. And sorry, I don't know what your OS, env etc. It too less information. Please check your own env.

If you not familiar with vim you can read help :h vim-script-intro.

gsellers-tulco commented 4 years ago

The issue was that I was using a conda env. I found the doq binary and created a symlink as specified in the install script, and it works now.

heavenshell commented 4 years ago

Good news! Congrats 🎉

gsellers-tulco commented 4 years ago

Thanks. The vim-script help command was useful.