mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-02 23:33:05 +00:00
Use the typescript language server
This commit is contained in:
parent
3f5ac5a2d5
commit
06b2baf8e0
1 changed files with 13 additions and 5 deletions
|
@ -28,11 +28,6 @@ name = "json"
|
|||
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "json"] }
|
||||
auto-format = true
|
||||
|
||||
[[language]]
|
||||
name = "javascript"
|
||||
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "js"] }
|
||||
auto-format = true
|
||||
|
||||
[[language]]
|
||||
name = "toml"
|
||||
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "toml"] }
|
||||
|
@ -46,3 +41,16 @@ auto-format = true
|
|||
[[language]]
|
||||
name = "julia"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue