Forth language support for the Zed editor.
- Syntax highlighting (keywords, numbers, strings, comments, operators, word definitions)
- Code outline (navigate between word definitions)
- Bracket matching (
:/;pairs) - Indentation support
- Comment toggling (
\)
.fth.4th.forth.fs
Files with a gforth or forth shebang are also detected automatically.
Not yet part of the Zed extension registry. Install as a dev extension for now.
To test locally, open Zed and use Extensions > "Install Dev Extension", then select this directory. Open any .fth file to verify.
Uses tree-sitter-forth for parsing.
Built with Claude Code (Claude Opus 4.6, 1M context).
MIT