Skip to content

patrick91/zed-tilt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tilt for Zed

Tiltfile language support for Zed.

Features

  • Syntax highlighting for Tiltfile files using the Starlark Tree-sitter grammar.
  • Language server support via tilt lsp start.
  • Tiltfile language detection for files named Tiltfile or tiltfile.
  • Comment toggling, bracket matching, indentation, and a basic outline.

Development

Zed compiles Rust extensions to WebAssembly when installing dev extensions. Install Rust via rustup before installing this extension in Zed:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup target add wasm32-wasip1

If Zed was already running before rustup was installed, restart Zed so it can see rustup on PATH.

Install this repository as a dev extension in Zed:

  1. Open the command palette.
  2. Run zed: install dev extension.
  3. Select this repository directory.
  4. Open examples/Tiltfile to verify highlighting.

If the extension does not load, run zed: open log in Zed or launch Zed with:

zed --foreground

Notes

This extension launches the Tilt language server with:

tilt lsp start

Make sure tilt is installed and available on the PATH visible to Zed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors