update README for Vue Language Server to use vtsls also for typescript

This commit is contained in:
tsukkee
2025-07-04 18:56:04 +09:00
committed by mattn
parent 52e7599bf8
commit 7634ca48bc

View File

@@ -452,10 +452,12 @@ For more details, please see [Sorbet](https://sorbet.org/docs/vscode#installing-
### [volar (Vue Language Tools)](https://github.com/vuejs/language-tools)
To enable Vue support, both `vtsls` and `volar-server` should be installed and enabled in `vue` filetype.
Vue Language Tools v3 works only with `vtsls`, which is another TypeScript Language Server implementation.
So, you need to install both `vtsls` and `volar-server` and specify them to be used with the following code:
```vim
let g:lsp_settings_filetype_vue = ['vtsls', 'volar-server']
let g:lsp_settings_filetype_typescript = ['vtsls']
```
## Extra Configurations