Skip to content

Commit

Permalink
Treat .pcss files as CSS (#21402)
Browse files Browse the repository at this point in the history
This addresses
#19416 (comment)
and also follows the [associated PostCSS file extensions for VS
Code](https://github.com/csstools/postcss-language/blob/5d003170c5ed962b09b9a0f3725a6cae885df292/package.json#L37).

Release Notes:

- `.pcss` files are now recognized as CSS

---------

Co-authored-by: Marshall Bowers <[email protected]>
  • Loading branch information
MrSubidubi and maxdeviant authored Dec 2, 2024
1 parent 6cb758a commit 3987d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/icons/file_icons/file_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"ogg": "audio",
"opus": "audio",
"otf": "font",
"pcss": "css",
"pdb": "storage",
"pdf": "document",
"php": "php",
Expand Down
2 changes: 1 addition & 1 deletion crates/languages/src/css/config.toml
Original file line number Diff line number Diff line change
@@ -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 },
Expand Down

0 comments on commit 3987d0d

Please sign in to comment.