Skip to content

Neovim LSP

Auto-completion

blink.cmp

nvim-cmp

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

Helm

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