How do I enable a built-in LSP server in Neovim 0.11 without installing plugins?
vim.lsp.enable()
Neovim 0.
vim.lsp.enable()
Neovim 0.
:lua = {expression}
In Neovim, :lua = expr is a shorthand that evaluates a Lua expression and pretty-prints the result using vim.
vim.lsp.foldexpr()
Neovim 0.
vim.treesitter.foldexpr()
Neovim's built-in Treesitter integration includes vim.
vim.diagnostic.config({virtual_lines = true})
Neovim 0.
vim.lsp.config()
Neovim 0.
:checkhealth {module}
:checkhealth {module} runs the health check only for the specified module, making it much faster than the full :checkhealth which interrogates every registered
command-line #neovim #diagnostics #debugging #plugins #health
vim.fs.root()
vim.
vim.filetype.add()
vim.
vim.lsp.enable('server-name')
vim.
vim.lsp.config('server', { cmd = {...}, root_markers = {...}, filetypes = {...} })
Neovim 0.
vim.opt
Neovim's vim.
:set signcolumn=number
Setting signcolumn=number tells Neovim to display signs (diagnostics, git hunks, breakpoints) inside the line number column instead of adding a dedicated extra
<Cmd>
The pseudo-key in Neovim allows a mapping to execute an Ex command directly, without going through command-line mode.
Q
In Neovim, the Q key is mapped to replay the last executed macro — the same as @@ in both Vim and Neovim.
:LspInfo
The :LspInfo command, provided by the nvim-lspconfig plugin, opens a diagnostic floating window showing every active LSP client and its configuration for the cu
:lua {code}
Neovim's :lua command lets you run arbitrary Lua code inline from the command line.
command-line #command-line #lua #neovim #vimscript #advanced
:set jumpoptions+=view
By default, when you navigate the jump list with (older) or (newer), Neovim restores the cursor's line and column but does NOT restore where the window was scro
:set winfixbuf
Neovim's winfixbuf option (added in Neovim 0.
:set winblend=20
Neovim's winblend option controls the pseudo-transparency of floating windows.