Skip to content

Commit

Permalink
vue: Fix Vue.js language server not starting (zed-industries#11743)
Browse files Browse the repository at this point in the history
This fixes zed-industries#10871.

The introduction of zed-industries#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
  • Loading branch information
mrnugget authored and osiewicz committed May 18, 2024
1 parent 152efc0 commit b476640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/vue/extension.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit b476640

Please sign in to comment.