From 0b410b0a162e0c46995cad492ff1c4a65c4e5279 Mon Sep 17 00:00:00 2001 From: Kurenshe Nurdaulet Date: Sat, 9 Apr 2022 08:04:22 +0600 Subject: Add default language server for Vue (#2043) --- book/src/generated/lang-support.md | 2 +- languages.toml | 3 ++- 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" -- cgit v1.2.3-70-g09d2