Skip to content

Commit

Permalink
Use Vue language server based on Volar (helix-editor#7312)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siilwyn authored and Triton171 committed Jun 18, 2023
1 parent f072956 commit 6bd3aca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
| verilog ||| | `svlangserver` |
| vhdl || | | `vhdl_ls` |
| vhs || | | |
| vue || | | `vls` |
| vue || | | `vue-language-server` |
| wast || | | |
| wat || | | |
| wgsl || | | `wgsl_analyzer` |
Expand Down
4 changes: 2 additions & 2 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down Expand Up @@ -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" ]

Expand Down

0 comments on commit 6bd3aca

Please sign in to comment.