Code intelligence
Language support, language servers, completion, folding, and the build/error loop.
| Topic | What it covers | ||||
|---|---|---|---|---|---|
| Languages | Bundled languages, coverage roadmap, and how to add a new language (tree-sitter or otherwise). | ||||
| Language Server Protocol (LSP) | LSP integration: servers, capabilities, attach lifecycle, diagnostics, every :lsp-* command in context. | ||||
| The lsp-mode gate | Per-buffer gate that controls whether LSP features run (auto-activation, toggle, what's gated, programmatic API). | ||||
| Insert-mode completion | Insert-mode completion: triggers, sources, popup keymap, configuration, troubleshooting. | ||||
| Folding | Manual + computed folds, fold operators, navigation, auto-open on search. | ||||
| Compilation | :compile runs any CLI tool, streams its output into compilation, and parses file:line:col references into the error list; gr recompiles, | Projects | Every buffer belongs to a project, found by walking up for a marker like .git or Cargo.toml; :project-root reports it and the marker that decided it, and project.root-markers configures the list. | The error list | The error list: a navigable list of file:line:col locations walked with :next-error/:previous-error (]qq/[qq) — populated by :compile (any CLI tool), browsed with :error-list, grouped with :problems. | |