Skip to content
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

yamlls + schema working fine in neovim? #957

Open
rodhash opened this issue Apr 2, 2024 · 0 comments
Open

yamlls + schema working fine in neovim? #957

rodhash opened this issue Apr 2, 2024 · 0 comments

Comments

@rodhash
Copy link

rodhash commented Apr 2, 2024

Summary

I've setup yamlls + neovim & neovim-lspconfig + a bunch of other LSPs and so far it was all working fine..

Now for yamlls I've also set the schema github-workflow.json from schemastore and it seems to work .. at least for the most part.

While adding "on" events I get completion suggestions just fine but "runs-on" for the runner I don't see anything.

Let me provide some details in this quick vid:

yamlls_completion.mov

Relevant information

Checking log file lsp.log trying to debug I didn't get much details.. this is basically all I found in the logs:

[START][2024-04-02 03:59:22] LSP logging initiated
[WARN][2024-04-02 03:59:22] ...lsp/handlers.lua:134     "The language server yamlls triggers a registerCapability handler for workspace/didChangeWorkspaceFolders despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-04-02 03:59:22] ...lsp/handlers.lua:134     "The language server yamlls triggers a registerCapability handler for workspace/didChangeConfiguration despite dynamicRegistration set to false. Report upstream, this warning is harmless"

For yamlls I don't have customizations, the only thing I've added to the default settings was the schema from schema store..

checkhealth apparently is fine as well, Treesitter seems fine showing yaml parser installed, vim.lsp active clients show yamlls attached just fine..

Any suggestion?

Is this completion working fine in neovim btw?

System: Mac M1 14.4.1
NVIM v0.10.0-dev-a84b454
yaml-language-server 1.14.0
mason 751b1fc

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant