redhat-developer / redhat-developer/yaml-language-server
Weird spacing when using lsp.buf.hover in nvim
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
Summary
When using yamlls with nvim-lspconfig I noticed a weird issue when trying to view the documentation for a symbol. (via lsp.buf.hover)
Other language servers shows normally, I only have this issue with yamlls.
Relevant information
running Neovim version 0.9.0 with nvim-lspconfig (commit sha cf95480) and yamlls version 1.12.0.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the spacing issue with yamlls through nvim-lspconfig and lsp.buf.hover using the reported Neovim 0.9.0, nvim-lspconfig commit, and yamlls 1.12.0. Compare the hover output with another language server; done means YAML hover documentation renders without the reported extra spacing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- neovim, typescript, yaml
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100