Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Treat `.pcss` files as CSS (#21402)

Finn Evers3987d0d73174
diff --git a/assets/icons/file_icons/file_types.json b/assets/icons/file_icons/file_types.json
index 8c6a6244167..5e927369d38 100644
--- a/assets/icons/file_icons/file_types.json
+++ b/assets/icons/file_icons/file_types.json
@@ -127,6 +127,7 @@
"ogg": "audio",
"opus": "audio",
"otf": "font",
+ "pcss": "css",
"pdb": "storage",
"pdf": "document",
"php": "php",
diff --git a/crates/languages/src/css/config.toml b/crates/languages/src/css/config.toml
index 9b0c9c703c0..d6ea2f9c7fe 100644
--- a/crates/languages/src/css/config.toml
+++ b/crates/languages/src/css/config.toml
@@ -1,6 +1,6 @@
name = "CSS"
grammar = "css"
-path_suffixes = ["css", "postcss"]
+path_suffixes = ["css", "postcss", "pcss"]
autoclose_before = ";:.,=}])>"
brackets = [
{ start = "{", end = "}", close = true, newline = true },