Skip to content

Commit 62088e7

Browse files
committed
Remove dependency on tree-sitter-scss: doesn't build for Windows.
1 parent 916788c commit 62088e7

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ tree-sitter-r = "1.1.0"
7070
tree-sitter-ruby = "0.23.1"
7171
tree-sitter-rust = "0.23.2"
7272
tree-sitter-scala = "0.23.4"
73-
tree-sitter-scss = "1.0.0"
7473
tree-sitter-sequel = "0.3.8"
7574
tree-sitter-swift = "0.7.0"
7675
tree-sitter-toml-ng = "0.7.0"

src/ops/functions/split_recursively.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,13 @@ static TREE_SITTER_LANGUAGE_BY_LANG: LazyLock<HashMap<UniCase<&'static str>, Arc
8383
tree_sitter_c_sharp::LANGUAGE,
8484
[],
8585
);
86-
add_language(&mut map, "CSS", [".css"], tree_sitter_css::LANGUAGE, []);
86+
add_language(
87+
&mut map,
88+
"CSS",
89+
[".css", ".scss"],
90+
tree_sitter_css::LANGUAGE,
91+
[],
92+
);
8793
add_language(
8894
&mut map,
8995
"Fortran",
@@ -152,13 +158,6 @@ static TREE_SITTER_LANGUAGE_BY_LANG: LazyLock<HashMap<UniCase<&'static str>, Arc
152158
tree_sitter_scala::LANGUAGE,
153159
[],
154160
);
155-
add_language(
156-
&mut map,
157-
"SCSS",
158-
[".scss"],
159-
tree_sitter_scss::language(),
160-
[],
161-
);
162161
add_language(&mut map, "SQL", [".sql"], tree_sitter_sequel::LANGUAGE, []);
163162
add_language(
164163
&mut map,

0 commit comments

Comments
 (0)