Fork of zed-extensions/nu
  • Tree-sitter Query 94.1%
  • Rust 5.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zed-zippy[bot] a8e13d599a
Update CI workflows to 3183c04 (#31)
This PR updates the CI workflow files from the main Zed repository
based on the commit
zed-industries/zed@3183c04515

The update includes a new version of the extension CLI which adds
validation for semantic token rules for languages

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
2026-03-25 18:55:08 +00:00
.github/workflows Update CI workflows to 3183c04 (#31) 2026-03-25 18:55:08 +00:00
languages/nu Add nushell as a Jupyter kernel language name (#30) 2026-03-23 14:01:35 -05:00
src Bump to v0.0.3 2024-04-15 16:05:16 -04:00
.gitignore Add support for the nu language server 2024-04-15 10:32:48 -07:00
Cargo.lock Bump version to 0.0.9 (#26) 2026-03-06 21:21:59 -06:00
Cargo.toml Bump version to 0.0.9 (#26) 2026-03-06 21:21:59 -06:00
extension.toml Bump version to 0.0.9 (#26) 2026-03-06 21:21:59 -06:00
LICENSE Create LICENSE 2025-09-30 11:55:35 -04:00
README.md fix: settings.json (#10) 2025-03-17 08:33:44 -05:00

Zed Nu

This extension adds support for the Nu language.

Override Default Configuration (Optional)

You can minimize the configuration autoloaded when the server starts, which may improve performance as complicated Nushell configurations can slow down the language server.

{
  "lsp": {
    "nu": {
      "binary": {
        "path": "nu",
        "arguments": ["--config", "~/.config/nushell/lsp.nu", "--lsp"]
      }
    }
  }
}

Example of Minimal lsp.nu

# Configure PATH to search for external command completions
$env.path = $env.path
| split row (char esep)
| append ($env.HOME | path join ".cargo" "bin")
| uniq

# Set up external completer (requires carapace)
$env.CARAPACE_LENIENT = 1
$env.CARAPACE_BRIDGES = 'zsh'
$env.config.completions.external.completer = {|spans: list<string>|
  carapace $spans.0 nushell ...$spans
  | from json
  | if ($in | default [] | where value =~ '^-.*ERR$' | is-empty) { $in } else { null }
}

# Define extra library directories to load definitions from
const NU_LIB_DIRS = ["some/extra/lib"]