heavenshell / vim-pydocstring

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

New vim-pydocstring plan #63

Closed heavenshell closed 4 years ago

heavenshell commented 4 years ago

Current problems of vim-pydocstrings

How(idea)

e.g.

def foo(arg1, arg2: List[int, str]=[1, 'foo']) -> None:
   pass
{
  "name": "foo",
  "args": [
     { "arg": "arg1", "type": "", "default": ""},
     { "arg": "arg2", "type": "List[int, str]", "default": "[1, 'foo']"},
   ],
   "rtype": "None"
}
heavenshell commented 4 years ago

2.0.0 was released 🎉

yzlnew commented 4 years ago

Will Neovim be supported in the future?

heavenshell commented 4 years ago

@yzlnew I'm not Neovim user, so Neovim user can send me PR 😊 (I don't have Neovim env and I have no plan to install Neovim in my env)