Added Astro.js LSP in Helix config
This commit is contained in:
parent
d7ad5edf62
commit
5dc9296822
1 changed files with 10 additions and 0 deletions
|
@ -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"] }
|
||||
|
|
Loading…
Reference in a new issue