| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
This commit adds preliminary `typescript-tools` support for `vue_ls`. This is to
allow for a smooth transition if support for `typescript.tsserverRequest` is
added.
|
| |
|
|
|
|
|
|
|
|
| |
Problem:
The current `on_init` of `vue_ls` requiers `vtsls` or `ts_ls` to already be
attached, which is not always guaranteed.
Solution:
Add a retry mechanism that reruns the logic for some time to give the
other ls a chance to catch up.
|
| |
|
|
|
|
|
|
|
| |
Problem:
The current logic used unnecessary table merging even though there is
only one element expected anyway.
Solution:
Just use index accessing and `or`
|
| | |
|
| |
|
|
|
|
|
| |
Currently, `on_init` tries to use `or` to combine two function calls
that return tables and returns truthy on the first value but an empty
table is considered truthy in lua causing an error when using `vtsls`.
This properly checks if either `ts_ls` or `vtsls` exists and extends the
`clients` list for proper error handling.
|
| |
|
|
| |
typescript-language-server now supports tsserver/request:
https://github.com/typescript-language-server/typescript-language-server/releases/tag/v4.4.0
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem:
`vue_ls` made breaking changes to its config in v3.
Solution:
Change the typescript language server for `vue_ls` from `ts_ls` to
`vtsls`.
Add a client handler to communicate between `vue_ls` and `vtsls`.
Remove `typescript.tsdk` option.
Remove documentation for the deprecated takeover mode.
|
|
|
The Vue language tooling does not use 'Volar' prominently in its
documentation. The official name for the language server is
'@vue/language-server'.
|