fix(vue): disable volar hybrid mode since it interferes with tsserver (#3654)

can not inc-rename when volar is enabled.

After the configuration in commit was added, the inc-rename operation
returned to normal.

I suspect that volar's Hybrid mode affects the rename operation.


https://github.com/vuejs/language-tools?tab=readme-ov-file#none-hybrid-modesimilar-to-takeover-mode-configuration-requires-vuelanguage-server-version-207

Co-authored-by: 肖健正 <xiaojianzheng@qq.com>
This commit is contained in:
xiaojianzheng
2024-06-15 05:06:53 +08:00
committed by GitHub
parent 034f57377b
commit 5070694861

View File

@ -19,7 +19,13 @@ return {
"neovim/nvim-lspconfig",
opts = {
servers = {
volar = {},
volar = {
init_options = {
vue = {
hybridMode = false,
},
},
},
vtsls = {},
},
},