diff options
| author | Bruno Tavares <connect+github@bltavares.com> | 2026-06-30 15:55:51 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-30 14:55:51 -0400 |
| commit | 4c2883c129f5bb8816f7b9d25a3e54ca001920d0 (patch) | |
| tree | f7794304d202f2e9753d29f4b3419c868e787fd2 /lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-4c2883c129f5bb8816f7b9d25a3e54ca001920d0.tar nvim-lspconfig-4c2883c129f5bb8816f7b9d25a3e54ca001920d0.tar.gz nvim-lspconfig-4c2883c129f5bb8816f7b9d25a3e54ca001920d0.tar.bz2 nvim-lspconfig-4c2883c129f5bb8816f7b9d25a3e54ca001920d0.tar.lz nvim-lspconfig-4c2883c129f5bb8816f7b9d25a3e54ca001920d0.tar.xz nvim-lspconfig-4c2883c129f5bb8816f7b9d25a3e54ca001920d0.tar.zst nvim-lspconfig-4c2883c129f5bb8816f7b9d25a3e54ca001920d0.zip | |
fix(svelte): support svelteserver installed in node_modules #4462
Problem: Currently the `svelte` configuration expects a globally
installed `svelteserver` binary. Meanwhile, other LSP configs support
binaries installed as dev dependencies on `node_modules/.bin`. A global
language server makes it harder to have project-scoped version
management.
Solution: Implement a `cmd` finder similar to `oxlint` and `oxfmt` which
considers `node_modules/bin` as an additional lookup path as well as the
global install
Workaround: Meanwhile, users can define the `cmd` function on their own
`vim.lsp.config('svelte')` as needed.
Diffstat (limited to 'lua')
0 files changed, 0 insertions, 0 deletions
