Skip to content

Commit

Permalink
Treat .prettierrc as YAML (#11997)
Browse files Browse the repository at this point in the history
  • Loading branch information
aster-void authored Nov 5, 2024
1 parent c0920e7 commit b53dafe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ file-types = [
{ glob = "composer.lock" },
{ glob = ".watchmanconfig" },
"avsc",
{ glob = ".prettierrc" },
"ldtk",
"ldtkl",
]
Expand Down Expand Up @@ -1306,7 +1305,7 @@ source = { git = "https://github.com/ikatyang/tree-sitter-vue", rev = "91fe27547
[[language]]
name = "yaml"
scope = "source.yaml"
file-types = ["yml", "yaml"]
file-types = ["yml", "yaml", { glob = ".prettierrc" }]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
language-servers = [ "yaml-language-server", "ansible-language-server" ]
Expand Down Expand Up @@ -3859,4 +3858,4 @@ indent = { tab-width = 4, unit = " " }

[[grammar]]
name = "cylc"
source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" }
source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" }

0 comments on commit b53dafe

Please sign in to comment.