heavenshell / vim-pydocstring

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

command not added to vim #99

Closed zigi-omri closed 4 years ago

zigi-omri commented 4 years ago

Hi, great initiative :) thanks. trying to install, I have doq installed. and the hook seems to run fine on PlugInstall. however, the command is not added to vim. using vim version 8.2.250 on mac

Hope this helps.

heavenshell commented 4 years ago

@zigi-omri Sorry for late response.

Can you show me how to step to reproduce? I use Vim's pack and works fine.

zigi-omri commented 4 years ago

Thanks @heavenshell . Maybe some other plugin collision?

I just followed the instructions and the command is not available in vim. pylint + ale runs fine. anything I can do to help debug this?

heavenshell commented 4 years ago

@zigi-omri Can you try make install?(not using Plug) and than can you show me gif screencapture?

Thank you

zigi-omri commented 4 years ago

Hi @heavenshell, please find attached the make install output. didn't upload any screen capture, as there is no output when starting vim. just the usual message (version is 8.2.250), and the command, typing : then trying capital P and autocomplete will not offer anything. typing myself leads to E492: Not an editor command: Pydocstring

any other ideas? Screen Shot 2020-06-07 at 18 08 18

heavenshell commented 4 years ago

@zigi-omri thx Show me how to startup your python file.

vim
:e sample.py
:Pydocstring

or

vim sample.py
:Pydocstring

or etc

I want to know all steps.

zigi-omri commented 4 years ago

Hi @heavenshell,

Good news: all works. I have updated iTerm2, and now I have the command available.

Thanks for your help!