mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 11:27:46 +03:00
Treat .prettierrc as YAML (#11997)
This commit is contained in:
parent
c0920e779d
commit
b53dafe326
1 changed files with 2 additions and 3 deletions
|
@ -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" ]
|
||||||
|
@ -3859,4 +3858,4 @@ indent = { tab-width = 4, unit = " " }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "cylc"
|
name = "cylc"
|
||||||
source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" }
|
source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue