Skip to content

Type to search extensions

Squirrel

v0.1.0

🐿️ Squirrel language support

Updated 10 months ago
31k downloads 2 stars Repository ↗

Squirrel Language Extension for Zed

This extension provides Squirrel language support for the Zed editor, including:

  • Syntax highlighting via tree-sitter
  • Language Server Protocol (LSP) support via squirrel-lsp
  • Code formatting, diagnostics, and code actions

Installation

  1. Open Zed
  2. Go to Extensions (Cmd+Shift+X)
  3. Search for "Squirrel"
  4. Click Install

The LSP binary will be downloaded automatically from GitHub releases.

Manual LSP Installation

If you prefer to install the LSP manually or need a custom build:

cargo install --git https://github.com/mnshdw/squirrel-lsp

The extension will use a manually installed squirrel-lsp from PATH if available.

Configuration

You can configure the extension in your Zed settings (~/.config/zed/settings.json):

{
  "languages": {
    "Squirrel": {
      "tab_size": 4
    }
  },
  "lsp": {
    "squirrel-lsp": {
      "binary": {
        "path": "/custom/path/to/squirrel-lsp"
      }
    }
  }
}

Development

To build the extension locally:

cargo build --release --target wasm32-wasip1

To test as a dev extension:

  1. Open Zed
  2. Command palette → "zed: install dev extension"
  3. Select this repository's root directory
ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated