-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix completion for clojure-lsp(check type of results) #16
Conversation
@sakuraiyuta I wonder why the type of this
|
@shun Thanks for reply!
Thank you for refer the spec. After that, I found that result is one item Thought of something, reasons may make the problem are:
I will test that on minimal environment and seek more. |
I'm not familiar with clojure, and I tried with Below is my minimal env which I tried.
|
I tested on minimal docker image(ubuntu 20.04 focal), using same as I found that response and results(vimscript value) from yuta@yuta-win10-wsl__home_yuta.screen.2022-08-12.18-43-21.mp4Notice: found another issue.
Try solution above and you can avoid the issue. |
Surprisingly, LSP's specification also says possible to return array.
You said that below, It seems correct, I think so:
but it seems to be in conflict with sentence I refered above. That made us confused. If it's correct that "results are possible to return array", my PR has no problems...maybe. |
@sakuraiyuta I will check this tommorow, |
Potentially, Thank you ! |
Fix #15:
autoload/ddc-vim-lsp.vim:12
to check type ofresults
and setisIncomplete
tov:false
if it'slist
.before
after