Nushell language server integration.
Supports all LSP features that the configured language server implementation supports.
- Syntax highlighting
- Error reporting
- Code completion
Configure path to LSP server in Lapce settings.toml
.
[nushell-lsp]
path = "/usr/bin/nu"
args = [ "--lsp" ]
By default, nu from PATH
is used with the config looking like this.
[nushell-lsp]
path = "/usr/bin/env"
args = [ "nu", "--lsp", "--no-config-file" ]
Uses nushell's integrated LSP by default (nu --lsp --no-config-file
).