Skip to content
Docs Menu
Documentation

LSP

Language server integration in packages/nikcli/src/lsp.

Overview

nikcli starts LSP servers on demand based on file extensions and config overrides.

Servers

Default servers live in packages/nikcli/src/lsp/server.ts. Custom servers can be added in config with explicit extensions.

Diagnostics & Symbols

Workspace symbols, document symbols, and diagnostics are exposed via the LSP tool and debug commands.

Config Fields

commandSpawn command array.
extensionsRequired for custom servers.
disabledDisable server when true.
envEnvironment overrides for the server process.
initializationInitialization payload override.