mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
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
This commit is contained in:
parent
c90263d59b
commit
c769d58b4c
@ -9,6 +9,7 @@ repository = "https://github.com/zed-industries/zed"
|
|||||||
[language_servers.vue-language-server]
|
[language_servers.vue-language-server]
|
||||||
name = "Vue Language Server"
|
name = "Vue Language Server"
|
||||||
language = "Vue.js"
|
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
|
# 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.
|
# sends back a CodeAction with neither `command` nor `edits` fields set, which is against the spec.
|
||||||
code_action_kinds = ["", "quickfix", "refactor.rewrite"]
|
code_action_kinds = ["", "quickfix", "refactor.rewrite"]
|
||||||
|
Loading…
Reference in New Issue
Block a user