Treat .prettierrc as YAML (#11997)

pull/9458/head^2
Yuki Kobayashi 3 weeks ago committed by GitHub
parent c0920e779d
commit b53dafe326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -449,7 +449,6 @@ file-types = [
{ glob = "composer.lock" }, { glob = "composer.lock" },
{ glob = ".watchmanconfig" }, { glob = ".watchmanconfig" },
"avsc", "avsc",
{ glob = ".prettierrc" },
"ldtk", "ldtk",
"ldtkl", "ldtkl",
] ]
@ -1306,7 +1305,7 @@ source = { git = "https://github.com/ikatyang/tree-sitter-vue", rev = "91fe27547
[[language]] [[language]]
name = "yaml" name = "yaml"
scope = "source.yaml" scope = "source.yaml"
file-types = ["yml", "yaml"] file-types = ["yml", "yaml", { glob = ".prettierrc" }]
comment-token = "#" comment-token = "#"
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
language-servers = [ "yaml-language-server", "ansible-language-server" ] language-servers = [ "yaml-language-server", "ansible-language-server" ]

Loading…
Cancel
Save