Is there any way to get python omnicomplete to work with non-system modules in vim?

后端 未结 6 1332
余生分开走
余生分开走 2020-12-28 22:26

The only thing I can get python omnicomplete to work with are system modules. I get nothing for help with modules in my site-packages or modules that I\'m currently working

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-28 22:36

    While it's important to note that you must properly set your PYTHONPATH environmental variable, per the the previous answer, there is a notable bug in Vim which prevents omnicompletion from working when an import fails. As of Vim 7.2.79, this bug hasn't been fixed.

提交回复
热议问题