mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-23 06:56:33 +00:00
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:
parent
9e27b6694a
commit
35f2f2aac4
2 changed files with 2 additions and 1 deletions
|
@ -128,6 +128,7 @@
|
|||
"php": "php",
|
||||
"plist": "template",
|
||||
"png": "image",
|
||||
"postcss": "css",
|
||||
"ppt": "document",
|
||||
"pptx": "document",
|
||||
"prettierignore": "prettier",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name = "CSS"
|
||||
grammar = "css"
|
||||
path_suffixes = ["css"]
|
||||
path_suffixes = ["css", "postcss"]
|
||||
autoclose_before = ";:.,=}])>"
|
||||
brackets = [
|
||||
{ start = "{", end = "}", close = true, newline = true },
|
||||
|
|
Loading…
Reference in a new issue