Neovim LSP
- nvim-lspconfig
- All supported languages
- Config in
~/.config/nvim/lua/plugins.lua
- Logfile at
~/.local/state/nvim/lsp.log
- See
:LspInfo
Auto-completion
blink.cmp
- GitHub
- Default completion engine in LazyVim, available as LazyVim extra: Blink
- Docs
- LazyVim discussions: Disable auto-suggestion/auto-complete on blink-cmp
- LazyVim discussions: Tab completion
nvim-cmp
- GitHub
- Replaced by blink.cmp in LazyVim
- But still available as LazyVim extra: Nvim-cmp
- Option to toggle autocomplete?
Hover
- Neovim docs: hover
- Press
K
to show hover window - Press
K
again to enter hover window, move around - Scroll with
<c-f>
and<c-b>
q
to quit hover window
Hover over plugins
- boo
- Quickly pop-up lsp-powered infos of the thing your cursor is on
- eagle.nvim
- Show diagnostics and lsp info inside a custom window, following the mouse position
LSP plugins
LSP issues
yaml-language-server
Issues:
Kubernetes
- Set specific Kubernetes Schema Version
- Remove built in kubernetes support
- yaml-language-server settting yaml.schemaStore.url not working
Helm
- yamlls is active when filetype is "helm"
- Still missing: Support for .tpf (Helm chart Yaml-based template files)
Enable yaml-language-server autocompletion by setting the right json schema, either by a comment at the top of the document like:
# yaml-language-server: $schema=https://json.schemastore.org/helmfile.json
or by configuring dotfiles: nvim-lspconfig