summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurenshe Nurdaulet2022-04-09 02:04:22 +0000
committerGitHub2022-04-09 02:04:22 +0000
commit0b410b0a162e0c46995cad492ff1c4a65c4e5279 (patch)
tree5906a312d39f3aa0ac4fa1d318170289fa47aac5
parent7779dbfcb847e9aa20e01ae0f8354c3c0de38fe3 (diff)
Add default language server for Vue (#2043)
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml3
2 files changed, 3 insertions, 2 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index c4c64980..4e8e1c82 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -68,7 +68,7 @@
| tsx | ✓ | | | `typescript-language-server` |
| twig | ✓ | | | |
| typescript | ✓ | | ✓ | `typescript-language-server` |
-| vue | ✓ | | | |
+| vue | ✓ | | | `vls` |
| wgsl | ✓ | | | |
| yaml | ✓ | | ✓ | |
| zig | ✓ | | ✓ | `zls` |
diff --git a/languages.toml b/languages.toml
index 6c07ec0b..e80ca280 100644
--- a/languages.toml
+++ b/languages.toml
@@ -581,8 +581,9 @@ name = "vue"
scope = "source.vue"
injection-regex = "vue"
file-types = ["vue"]
-roots = []
+roots = ["package.json", "vue.config.js"]
indent = { tab-width = 2, unit = " " }
+language-server = { command = "vls" }
[[grammar]]
name = "vue"