1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Use the typescript language server

This commit is contained in:
Mo 2023-10-23 17:07:47 +02:00
parent 3f5ac5a2d5
commit 06b2baf8e0

View file

@ -28,11 +28,6 @@ name = "json"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "json"] } formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "json"] }
auto-format = true auto-format = true
[[language]]
name = "javascript"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "js"] }
auto-format = true
[[language]] [[language]]
name = "toml" name = "toml"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "toml"] } formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "toml"] }
@ -46,3 +41,16 @@ auto-format = true
[[language]] [[language]]
name = "julia" name = "julia"
auto-format = true auto-format = true
[language-server.typescript-language-server]
command = "npx"
args = ["typescript-language-server", "--stdio"]
config.hostInfo = "helix"
[[language]]
name = "javascript"
auto-format = true
[[language]]
name = "typescript"
auto-format = true