LSP via nakshora lsp — completions, hover CSS, color swatches, diagnostics.

Prerequisite#

terminal
bash
npm install -D @nakshora/cli   # exposes `nakshora lsp`

Configuration#

settings.json
json
// .vscode/settings.json
{
  "nakshora.lsp.command": "npx",
  "nakshora.lsp.args": ["nakshora", "lsp"]
}
// or launch manually and attach via any LSP client extension

What you get#

  • Completion for every utility and variant prefix
  • Hover panels showing the compiled CSS
  • Diagnostics for unknown classes
  • Color swatches next to palette utilities
Note. The server speaks standard LSP over stdio — if your editor isn't listed in editors/index|the editor hub, register npx nakshora lsp as a generic LSP server.