Remove Beancount as a built-in language (#7934)

This PR removes Beancount as a built-in language, as it is now available
as an [extension](https://github.com/zed-extensions/beancount).

Release Notes:

- Removed built-in support for Beancount, as it is now provided by an
[extension](https://github.com/zed-extensions/beancount).
This commit is contained in:
Marshall Bowers 2024-02-18 09:58:12 -05:00 committed by GitHub
parent a041e07c99
commit b91d6da6b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 0 additions and 39 deletions

View file

@ -111,7 +111,6 @@ tiny_http = "0.8"
toml.workspace = true
tree-sitter-astro.workspace = true
tree-sitter-bash.workspace = true
tree-sitter-beancount.workspace = true
tree-sitter-c-sharp.workspace = true
tree-sitter-c.workspace = true
tree-sitter-clojure.workspace = true

View file

@ -68,7 +68,6 @@ pub fn init(
languages.register_native_grammars([
("astro", tree_sitter_astro::language()),
("bash", tree_sitter_bash::language()),
("beancount", tree_sitter_beancount::language()),
("c", tree_sitter_c::language()),
("c_sharp", tree_sitter_c_sharp::language()),
("clojure", tree_sitter_clojure::language()),
@ -140,7 +139,6 @@ pub fn init(
],
);
language("bash", vec![]);
language("beancount", vec![]);
language("c", vec![Arc::new(c::CLspAdapter) as Arc<dyn LspAdapter>]);
language("clojure", vec![Arc::new(clojure::ClojureLspAdapter)]);
language("cpp", vec![Arc::new(c::CLspAdapter)]);

View file

@ -1,4 +0,0 @@
name = "Beancount"
grammar = "beancount"
path_suffixes = ["beancount"]
brackets = [{ start = "\"", end = "\"", close = false, newline = false }]

View file

@ -1,21 +0,0 @@
(comment) @comment
(headline) @comment
[
(payee)
(narration)
(string)
] @string
(number) @number
(date) @function
(currency) @constant
(account) @identifier
[
(option)
(include)
(open)
(balance)
(pad)
(close)
] @keyword