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
Pass settings to server via notify #341
Comments
You probably don't need to call the Notify function directly. See https://github.com/autozimu/LanguageClient-neovim/blob/next/doc/LanguageClient.txt#L155. You could either put language server settings into that file or override path of settings. I will address the secondly issue shortly. |
I tried using the settings file, but didn't see any workspace entries in
the debug log. Any chance those events could be logged? Also using the
notify method is very powerful. It would be nice to have it work. Is it
supposed to work? After reading issue #139, I was certain my code would
work. Thank you for your attention on this matter. Your project is amazing.
…On Thu, Mar 22, 2018, 6:51 PM Junfeng Li ***@***.***> wrote:
You probably don't need to call the Notify function directly. See
https://github.com/autozimu/LanguageClient-neovim/blob/next/doc/LanguageClient.txt#L155.
You could either put language server settings into that file or override
path of settings.
I will address the secondly issue shortly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#341 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFiQzRk3gqWSWzvwb38LI9dBFsHBrdVGks5thEb5gaJpZM4S3_5g>
.
|
Yes, it should work. You could add let g:LanguageClient_loggingLevel = 'DEBUG' in your vimrc to increase logging level. Or follow github issue template to provide as much information as possible. |
Yup I had that, I will give it another shot and report back and perhaps
include a full log. Thanks again
…On Thu, Mar 22, 2018, 8:10 PM Junfeng Li ***@***.***> wrote:
Yes, it should work.
You could add
let g:LanguageClient_loggingLevel = 'DEBUG'
in your vimrc to increase logging level.
Or follow github issue template to provide as much information as possible.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#341 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFiQzfX1GzJMAyLWZsPxszaZlSglhODUks5thFl6gaJpZM4S3_5g>
.
|
I found out currently Notify() method is not working as expected. Sorry about that. Will fix it soon. |
Thank you.
…On Thu, Mar 22, 2018, 9:23 PM Junfeng Li ***@***.***> wrote:
I found out currently Notify() method is not working as expected. Sorry
about that.
Will fix it soon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#341 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFiQzfHgwfHd581ijA825fKPux4kqNN7ks5thGqtgaJpZM4S3_5g>
.
|
C++ autocompletion (nvim-completion-manager) using cquery doesn't seem to work after the latest commit concerning this issue (cb57e19). |
Thank you for the update. I see the notify function is working properly. I'm still not seeing completion options from the yaml-language-server. Here is my minimal vim:
After opening a Kubernetes (built-in to yaml-lang-server) file I run the following command:
kubernetes.json
|
This is not helpful at all. |
@hurricanehrndz If you need help from my side, please follow github template to provide enough info (your env, reproduction steps, what expected and what happened). |
Sorry. Here are the log files on a small example. |
CheckHealth:
|
This is because yaml language server added a protocol extension, |
Oh okay. I saw that in the logs and suspected as much, thank you so much for your time on this. |
I have noticed with the latest release the following:
Notice the parms have been extended and buftype and languageid are included, as per the recent changes in code. Theses seems different than what the language server specifications state here. Now I'm very new to the specifications so I might be completely wrong. |
These two parameters are consumed this plugin. Although those two extra properties will be passed further down the language servers, it shouldn't matter much as most json deserialization will just ignore unknown fields. |
I suspected as much, thank you for the clarification. I know it is not your job to breakdown the specification for me, so I really appreciate how far above and beyond you have gone. |
version 0.0.7 of yaml-language-server works perfectly with this LanguageClient |
I will document my process on the wiki. Thanks again. |
@hurricanehrndz did you have any success with getting this working? |
There are new features available that might make this possible, but lately
I haven't had time to take a look at it.
…On Wed, Aug 15, 2018 at 2:52 AM Johannes Wienke ***@***.***> wrote:
@hurricanehrndz <https://github.com/hurricanehrndz> did you have any
success with getting this working?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#341 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFiQzVd8NYtSeF9qfDrqHEKUXsM7bpmiks5uQ-E3gaJpZM4S3_5g>
.
--
Regards,
Carlos Hernandez
|
It seems like a lot of code has changed since the Next branch has become the defacto.
I'm trying to follow issue #139.
I have written the following function to that end:
Debug log has the following output which make me think it is not working:
I'm trying to integrate the following language server.
Any guidance is welcome. Another issue from the server is that no trigger characters are returned so registration with NCM fails.
The text was updated successfully, but these errors were encountered: