mirror of
https://codeberg.org/JasterV/dotfiles.git
synced 2026-04-26 18:40:04 +00:00
update helix language config
This commit is contained in:
parent
52083ce5c5
commit
c743450d6c
1 changed files with 14 additions and 0 deletions
|
|
@ -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"] }
|
||||
|
|
|
|||
Loading…
Reference in a new issue