How to make JEDI recognize a Python C extension -
i developing python module in c, , cannot figure out how make jedi "see" module.
i have set docstrings in c code , set every field in setup.py
, when edit example.py
file use testing , try display documentation in vim using shift+k, error saying:
exception, shouldn't happen.
traceback (most recent call last):
file "/home/beben/.vim/bundle/jedi-vim/jedi_vim.py", line 268, in show_documentation
definitions = script.goto_definitions()
file "/home/beben/.vim/bundle/jedi-vim/jedi/jedi/api/init.py", line 365, in goto_definitions
names = [s.name s in definitions] attributeerror: 'nonetype' object has no attribute 'name'
no documentation found that.
after reading jedi
's documentation, understand uses pydoc
gather information on module. when run pydoc mymodule
, documentation correctly displayed.
is there more need add code recognized jedi?
Comments
Post a Comment