New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python completions not working #76
Comments
Here is way to debug python completion: Run: python3 /path/to/completor.vim/pythonx/completers/python/python_jedi.py -v then copy the following as the input to python_jedi.py:
then press If the results is
|
The result is a really long list of dicts. Should it be working then? And is it normal that I get a lot of [ID] results with Completor/Jedi? I have used YCM before and it seemed to limit the results a lot more, giving more accurate suggestions and being more aware of class attributes. Using Also, if I try The log content:
|
Unrelated. @maralla how do you have the documetation pop-up while completing? Do you use a combination of plugins? Would love to see your python dev setup. Thanks :) |
Just faced this problem and figured out with @maralla 's debugging tutorial. I was trying to install completor plugin as a system default for all users on a Linux box (installed to a subdirectory in
Update: python_jedi seems to be the only completer with this issue. Update 2: please ignore my previous advice of using |
About @decent1 problem, I've currenlty forced this behavior editing the
at line72. @maralla is there a better way to support this behavior? Thanks for this great plugin! |
You can add this config: let g:completor_filetype_map = {'python.django': 'python'} |
I only get normal identifier completions + UltiSnips completions and the completions show up with slight delay. Some facts:
sudo pip3 install jedi
python3
shellpython3
shellprint sys.executable
gives/usr/bin/python3
let g:completor_python_binary = "/usr/bin/python3"
in my .vimrcWhat am I missing and how could I debug this more?
The text was updated successfully, but these errors were encountered: