update helix language config

This commit is contained in:
JasterV 2025-06-01 17:41:13 +02:00
parent 52083ce5c5
commit c743450d6c

View file

@ -22,6 +22,20 @@ language-servers = ["typescript-language-server"]
formatter = { command = "prettier", args = ["--parser", "typescript"] }
auto-format = true
[language-server.astro-ls]
command = "astro-ls"
args = ["--stdio"]
[[language]]
name = "astro"
scope = "source.astro"
injection-regex = "astro"
file-types = ["astro"]
language-servers = ["astro-ls"]
roots = ["package.json", "astro.config.mjs"]
formatter = { command = "prettier", args = ["--plugin", "prettier-plugin-astro", "--parser", "astro"] }
auto-format = true
[[language]]
name = "json"
formatter = { command = "prettier", args = ["--parser", "json"] }