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:
parent
5bd7eaa173
commit
f6824e3eaa
8 changed files with 0 additions and 72 deletions
|
@ -1 +0,0 @@
|
|||
../../LICENSE-APACHE
|
|
@ -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"
|
|
@ -1,3 +0,0 @@
|
|||
("(" @open ")" @close)
|
||||
("[" @open "]" @close)
|
||||
("{" @open "}" @close)
|
|
@ -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"] },
|
||||
]
|
|
@ -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)$"
|
||||
))
|
|
@ -1,3 +0,0 @@
|
|||
(_ "[" "]") @indent
|
||||
(_ "{" "}") @indent
|
||||
(_ "(" ")") @indent
|
|
@ -1,10 +0,0 @@
|
|||
(list
|
||||
.
|
||||
(symbol) @start-symbol @context
|
||||
.
|
||||
[
|
||||
(symbol) @name
|
||||
(list . (symbol) @name)
|
||||
]
|
||||
(#match? @start-symbol "^define")
|
||||
) @item
|
|
@ -1,6 +0,0 @@
|
|||
[
|
||||
(comment)
|
||||
(block_comment)
|
||||
(directive)
|
||||
] @comment.inclusive
|
||||
(string) @string
|
Loading…
Add table
Add a link
Reference in a new issue