Treat .postcss files as CSS (#19416)

This PR makes it so `.postcss` files are recognized as CSS.

The `tree-sitter-css` grammar has basic support for PostCSS:
https://github.com/tree-sitter/tree-sitter-css/issues/17#issuecomment-1830349808.

Closes #18051.

Release Notes:

- `.postcss` files are now recognized as CSS.
This commit is contained in:
Marshall Bowers 2024-10-18 11:11:29 -04:00 committed by GitHub
parent 9e27b6694a
commit 35f2f2aac4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -128,6 +128,7 @@
"php": "php",
"plist": "template",
"png": "image",
"postcss": "css",
"ppt": "document",
"pptx": "document",
"prettierignore": "prettier",

View file

@ -1,6 +1,6 @@
name = "CSS"
grammar = "css"
path_suffixes = ["css"]
path_suffixes = ["css", "postcss"]
autoclose_before = ";:.,=}])>"
brackets = [
{ start = "{", end = "}", close = true, newline = true },