Skip to content

About

Zed extension for Squirrel language support

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

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

From Zed Extensions (recommended)

  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

About

Zed extension for Squirrel language support

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages