Move scheme extension to zed-extensions/scheme (#24078)

New home: https://github.com/zed-extensions/scheme

- See also: https://github.com/zed-industries/extensions/pull/1981
This commit is contained in:
Peter Tripp 2025-02-01 11:50:20 -05:00 committed by GitHub
parent 5bd7eaa173
commit f6824e3eaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 0 additions and 72 deletions

View file

@ -1 +0,0 @@
../../LICENSE-APACHE

View file

@ -1,11 +0,0 @@
id = "scheme"
name = "Scheme"
description = "Scheme support."
version = "0.0.2"
schema_version = 1
authors = ["Mikayla Maki <mikayla@zed.dev>"]
repository = "https://github.com/zed-industries/zed"
[grammars.scheme]
repository = "https://github.com/6cdh/tree-sitter-scheme"
commit = "af0fd1fa452cb2562dc7b5c8a8c55551c39273b9"

View file

@ -1,3 +0,0 @@
("(" @open ")" @close)
("[" @open "]" @close)
("{" @open "}" @close)

View file

@ -1,10 +0,0 @@
name = "Scheme"
grammar = "scheme"
path_suffixes = ["scm", "ss"]
line_comments = ["; "]
autoclose_before = "])"
brackets = [
{ start = "[", end = "]", close = true, newline = false },
{ start = "(", end = ")", close = true, newline = false },
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] },
]

View file

@ -1,28 +0,0 @@
["(" ")" "[" "]" "{" "}"] @punctuation.bracket
(number) @number
(character) @constant.builtin
(boolean) @constant.builtin
(symbol) @variable
(string) @string
(escape_sequence) @string.escape
[(comment)
(block_comment)
(directive)] @comment
((symbol) @operator
(#match? @operator "^(\\+|-|\\*|/|=|>|<|>=|<=)$"))
(list
.
(symbol) @function)
(list
.
(symbol) @keyword
(#match? @keyword
"^(define-syntax|let\\*|lambda|λ|case|=>|quote-splicing|unquote-splicing|set!|let|letrec|letrec-syntax|let-values|let\\*-values|do|else|define|cond|syntax-rules|unquote|begin|quote|let-syntax|and|if|quasiquote|letrec|delay|or|when|unless|identifier-syntax|assert|library|export|import|rename|only|except|prefix)$"
))

View file

@ -1,3 +0,0 @@
(_ "[" "]") @indent
(_ "{" "}") @indent
(_ "(" ")") @indent

View file

@ -1,10 +0,0 @@
(list
.
(symbol) @start-symbol @context
.
[
(symbol) @name
(list . (symbol) @name)
]
(#match? @start-symbol "^define")
) @item

View file

@ -1,6 +0,0 @@
[
(comment)
(block_comment)
(directive)
] @comment.inclusive
(string) @string