Extract TOML support into an extension (#9940)
This PR extracts TOML support into an extension and removes the built-in TOML support from Zed. There's a small workaround necessary in order for us to set the file permissions on the `taplo` binary so that it can be run. Eventually we'll want to build this into the extension API, but for now we're just hard-coding it on the host side. Release Notes: - Removed built-in support for TOML, in favor of making it available as an extension. The TOML extension will be suggested for download when you open a `.toml` or `Cargo.lock` file.
This commit is contained in:
parent
90cf73b746
commit
d074586fbf
18 changed files with 156 additions and 142 deletions
|
@ -32,7 +32,6 @@ mod ruby;
|
|||
mod rust;
|
||||
mod tailwind;
|
||||
mod terraform;
|
||||
mod toml;
|
||||
mod typescript;
|
||||
mod vue;
|
||||
mod yaml;
|
||||
|
@ -99,7 +98,6 @@ pub fn init(
|
|||
("ruby", tree_sitter_ruby::language()),
|
||||
("rust", tree_sitter_rust::language()),
|
||||
("scheme", tree_sitter_scheme::language()),
|
||||
("toml", tree_sitter_toml::language()),
|
||||
("tsx", tree_sitter_typescript::language_tsx()),
|
||||
("typescript", tree_sitter_typescript::language_typescript()),
|
||||
("vue", tree_sitter_vue::language()),
|
||||
|
@ -236,7 +234,6 @@ pub fn init(
|
|||
vec![Arc::new(rust::RustLspAdapter)],
|
||||
RustContextProvider
|
||||
);
|
||||
language!("toml", vec![Arc::new(toml::TaploLspAdapter)]);
|
||||
match &DenoSettings::get(None, cx).enable {
|
||||
true => {
|
||||
language!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue