Skip to content

Commit 7634ca4

Browse files
tsukkeemattn
authored andcommitted
update README for Vue Language Server to use vtsls also for typescript
1 parent 52e7599 commit 7634ca4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,12 @@ For more details, please see [Sorbet](https://sorbet.org/docs/vscode#installing-
452452

453453
### [volar (Vue Language Tools)](https://github.com/vuejs/language-tools)
454454

455-
To enable Vue support, both `vtsls` and `volar-server` should be installed and enabled in `vue` filetype.
455+
Vue Language Tools v3 works only with `vtsls`, which is another TypeScript Language Server implementation.
456+
So, you need to install both `vtsls` and `volar-server` and specify them to be used with the following code:
456457

457458
```vim
458459
let g:lsp_settings_filetype_vue = ['vtsls', 'volar-server']
460+
let g:lsp_settings_filetype_typescript = ['vtsls']
459461
```
460462

461463
## Extra Configurations

0 commit comments

Comments
 (0)