mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Treat .prettierrc as YAML (#11997)
This commit is contained in:
parent
c0920e779d
commit
b53dafe326
@ -449,7 +449,6 @@ file-types = [
|
||||
{ glob = "composer.lock" },
|
||||
{ glob = ".watchmanconfig" },
|
||||
"avsc",
|
||||
{ glob = ".prettierrc" },
|
||||
"ldtk",
|
||||
"ldtkl",
|
||||
]
|
||||
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user