-
Notifications
You must be signed in to change notification settings - Fork 213
Inconsistent jedi_completion with snippets enabled client (vim-lsp) #619
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
Comments
Currently only an initial set of completion items (by default 25) receive snippets: python-lsp-server/pylsp/plugins/jedi_completion.py Lines 262 to 264 in 04fa3e5
And snippets are not resolved in python-lsp-server/pylsp/plugins/jedi_completion.py Lines 139 to 156 in 04fa3e5
This might explain it. |
The specification forbids changing
So it will only work for clients which do that. |
Using Vim 9.1 with latest vim-lsp and UltiSnips integration. I do explicitly enable in pylsp.plugins
When I invoke code completion at symbol, sometimes lsp#complete inserts function including parameters as snippet placeholders
finishing completion inserts selected function with arguments as snippet placeholders:
However in a quite similar case, insertion of function arguments does not happen
results in
Possible bug in jedi_completion plugin? Any other explanation?
The text was updated successfully, but these errors were encountered: