Added Astro.js LSP in Helix config

This commit is contained in:
GaspardCulis 2023-11-03 09:41:37 +01:00
parent d7ad5edf62
commit 5dc9296822

View file

@ -5,6 +5,16 @@ roots = ["pyproject.toml", "setup.py", "Poetry.lock", ".git"]
auto-format = true
formatter = {command = 'black', args = ["--quiet", "-"]}
[language-server.astro-ls]
command = "astro-ls"
args = ["--stdio"]
config = {typescript = {tsdk = "/home/gaspard/.local/share/fnm/node-versions/v18.18.2/installation/lib/node_modules/typescript/lib"}, environment = "node"}
[[language]]
name = "astro"
auto-format = true
language-servers = [ "astro-ls" ]
[[language]]
name = "html"
formatter = { command = 'prettier', args = ["--parser", "html"] }