Skip to content

Commit 00ff77e

Browse files
Nemo157syphar
authored andcommitted
Revert syntax packages repo to fully compatible version and load all syntaxes
1 parent 0669215 commit 00ff77e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

assets/syntaxes/Packages

Submodule Packages updated 701 files

build.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,8 @@ fn compile_syntax(out_dir: &Path) -> Result<()> {
204204

205205
let mut builder = SyntaxSetBuilder::new();
206206
builder.add_plain_text_syntax();
207-
tracked_add_from_folder(&mut builder, "assets/syntaxes/Packages/Rust/")?;
208-
// Some of the extended syntaxes fail to compile, so only load the primary markdown syntax
209-
tracked_add_from_folder(
210-
&mut builder,
211-
"assets/syntaxes/Packages/Markdown/Markdown.sublime-syntax",
212-
)?;
207+
208+
tracked_add_from_folder(&mut builder, "assets/syntaxes/Packages/")?;
213209

214210
// The TOML syntax already includes `Cargo.lock` in its alternative file extensions, but we
215211
// also want to support `Cargo.toml.orig` files.

0 commit comments

Comments
 (0)