Language Tooling Workflows
Khanelivim splits editing workflows into two namespaces:
<leader>lfor generic LSP and diagnostics actions<leader>zfor language-specific tooling in the current buffer
Generic LSP Workflow
Common actions live under <leader>l:
<leader>lTshows:ToolingInfofor the current buffer<leader>lIruns:checkhealth vim.lsp<leader>lXruns:lsp restart<leader>l[/<leader>l]jump between diagnostics<leader>lHopens the diagnostic float<leader>la,<leader>lr,<leader>ld,<leader>li,<leader>ltcover the usual code-action, rename, definition, implementation, and type-definition flow<leader>lq,<leader>le,<leader>lE,<leader>lW, and<leader>lQsurface diagnostics in loclists, quickfix, or workspace requests
Neovim’s built-in motions are still available too, such as gd, grr, gri,
K, and gx.
Language Namespaces
Language-specific actions live under <leader>z and are buffer-local.
Examples:
- TypeScript: organize imports, fix all, add missing imports, source definition, tsserver logs
- Rust: runnables, debuggables, crate graph, cargo, rust-analyzer logs, macro
expansion, RustOwl visualization with
<leader>zw - Python: virtual environment selection, cached env activation, venv logs, nearest/file/last test, DAP-backed test debugging
- .NET: build, run, debug, test runner, watch, diagnostics, outdated packages
This keeps the <leader>l group stable across languages while still making
language-specific power features easy to reach.
Workspace Tool Ownership
Web tooling is workspace-aware:
- Formatting owner:
biome.json/biome.jsonc-> Biome- Prettier config /
package.json#prettier-> Prettier - otherwise -> fallback order, currently
biomethenprettierdfor JS/TS
- Diagnostics owner:
- Biome config -> Biome
- ESLint config /
package.json#eslintConfig-> ESLint - otherwise -> no explicit JS/TS diagnostics owner
Use :WebToolingInfo to inspect the current workspace’s detected formatter and
diagnostics owners.
Inspectors and Toggles
Use these when troubleshooting editor behavior:
:ToolingInfoor<leader>lTfor current buffer roots, clients, diagnostic state, and formatter details:WebToolingInfofor web-specific tool ownership<leader>ueIto toggle diagnostics while typing<leader>uevto toggle diagnostic virtual lines<leader>ueCto toggle code lens<leader>uecto toggle document colors<leader>ueSto toggle semantic tokens