From b4766406c674db86cb8a2ba2f147693dfdbdf3b8 Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Mon, 13 May 2024 14:38:14 +0200 Subject: [PATCH] vue: Fix Vue.js language server not starting (#11743) This fixes #10871. The introduction of #11412 broke Vue.js language support, since it made Zed rely more heavily on correct language name -> language ID mappings, which the Vue.js extension didn't have. Release Notes: - N/A --- extensions/vue/extension.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/vue/extension.toml b/extensions/vue/extension.toml index c8655b5230d1c0..0312711a985e6a 100644 --- a/extensions/vue/extension.toml +++ b/extensions/vue/extension.toml @@ -9,6 +9,7 @@ repository = "https://github.com/zed-industries/zed" [language_servers.vue-language-server] name = "Vue Language Server" language = "Vue.js" +language_ids = { "Vue.js" = "vue" } # REFACTOR is explicitly disabled, as vue-lsp does not adhere to LSP protocol for code actions with these - it # sends back a CodeAction with neither `command` nor `edits` fields set, which is against the spec. code_action_kinds = ["", "quickfix", "refactor.rewrite"]