add minimal Zed syntax highlighting for Ferro (#2)

* add minimal Ferro tree-sitter grammar

* add temporary tree-sitter generation workflow

* generate Ferro tree-sitter parser

* drop custom grammar in favor of Rust grammar reuse

* remove temporary tree-sitter generation workflow

* add Zed extension manifest for Ferro

* configure Ferro files for Zed

* add Ferro syntax highlighting queries

* remove generated custom tree-sitter parser

* remove generated custom tree-sitter node types

* tighten Ferro Zed highlight queries

* add minimal Ferro tree-sitter grammar

* point Zed at Ferro grammar

* refresh Ferro highlights

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
정시원
2026-08-16 18:50:19 +09:00
committed by GitHub
co-authored by github-actions[bot]
parent deafd27939
commit 83ce26c209
7 changed files with 2051 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
name = "Ferro"
grammar = "ferro"
path_suffixes = ["fe"]
line_comments = ["// "]
tab_size = 4
hard_tabs = false
@@ -0,0 +1,12 @@
; Ferro syntax highlighting for Zed.
(line_comment) @comment
(block_comment) @comment
(string_literal) @string
(char_literal) @string
(integer_literal) @number
(builtin) @function.builtin
(builtin_type) @type.builtin
(keyword) @keyword
(operator) @operator
(punctuation) @punctuation.delimiter