aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/vue_ls.lua
Commit message (Collapse)AuthorAgeFilesLines
* feat(vue_ls): preliminary typescript-tools support #4030GR3YH4TT3R932025-08-241-1/+5
| | | | | 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.
* fix(vue_ls): make tsserver handler more resilientJ.c2025-08-221-2/+17
| | | | | | | | | | 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.
* refactor(vue_ls): simplify ts_client logicJ.c2025-08-221-8/+3
| | | | | | | | | Problem: The current logic used unnecessary table merging even though there is only one element expected anyway. Solution: Just use index accessing and `or`
* chore: add type annotation for configsIgor2025-08-181-0/+1
|
* fix(vue_ls): correctly check if ts_clients exist #3987GR3YH4TT3R932025-08-051-2/+7
| | | | | | | 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.
* feat(vue_ls): support ts_ls #3986Daniel M. Capella2025-08-051-2/+3
| | | | typescript-language-server now supports tsserver/request: https://github.com/typescript-language-server/typescript-language-server/releases/tag/v4.4.0
* fix(vue_ls): nil references in tsserverRequest #3977Kai Moschcau2025-07-291-1/+1
|
* fix(vue_ls): support `vue_ls` v3 #3943Fidel Yin2025-07-101-68/+27
| | | | | | | | | | | 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.
* feat(volar)!: rename to 'vue_ls'J.c2025-05-111-0/+91
The Vue language tooling does not use 'Volar' prominently in its documentation. The official name for the language server is '@vue/language-server'.