diff options
author | Selwyn | 2023-06-11 15:46:47 +0000 |
---|---|---|
committer | GitHub | 2023-06-11 15:46:47 +0000 |
commit | 18e07addfd464844fc18833cfb1d1cd38c683c11 (patch) | |
tree | e21e791561e67e44b6d471af09656311f6a34b0b | |
parent | 8c6eb88c6acdad68327b52204f20f9720b38f41e (diff) |
Use Vue language server based on Volar (#7312)
-rw-r--r-- | book/src/generated/lang-support.md | 2 | ||||
-rw-r--r-- | languages.toml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index e77bc17b..da37dfb3 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -159,7 +159,7 @@ | verilog | ✓ | ✓ | | `svlangserver` | | vhdl | ✓ | | | `vhdl_ls` | | vhs | ✓ | | | | -| vue | ✓ | | | `vls` | +| vue | ✓ | | | `vue-language-server` | | wast | ✓ | | | | | wat | ✓ | | | | | wgsl | ✓ | | | `wgsl_analyzer` | diff --git a/languages.toml b/languages.toml index 94d30568..63678bf4 100644 --- a/languages.toml +++ b/languages.toml @@ -73,7 +73,7 @@ vlang-language-server = { command = "v", args = ["ls"] } vscode-css-language-server = { command = "vscode-css-language-server", args = ["--stdio"], config = { "provideFormatter" = true }} vscode-html-language-server = { command = "vscode-html-language-server", args = ["--stdio"], config = { provideFormatter = true } } vscode-json-language-server = { command = "vscode-json-language-server", args = ["--stdio"], config = { provideFormatter = true } } -vuels = { command = "vls" } +vuels = { command = "vue-language-server", args = ["--stdio"], config = { typescript = { tsdk = "node_modules/typescript/lib/" } } } wgsl_analyzer = { command = "wgsl_analyzer" } yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] } zls = { command = "zls" } @@ -921,7 +921,7 @@ name = "vue" scope = "source.vue" injection-regex = "vue" file-types = ["vue"] -roots = ["package.json", "vue.config.js"] +roots = ["package.json"] indent = { tab-width = 2, unit = " " } language-servers = [ "vuels" ] |