diff options
| author | Igor Lacerda <igorlfs@ufmg.br> | 2025-07-18 23:03:28 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-18 19:03:28 -0700 |
| commit | f5aa43e83c940d46065ea04e3e7d275c0fc7fad8 (patch) | |
| tree | 99e5609542cbd012d6b84f84aa7b0ec4e76e4104 | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-f5aa43e83c940d46065ea04e3e7d275c0fc7fad8.tar nvim-lspconfig-f5aa43e83c940d46065ea04e3e7d275c0fc7fad8.tar.gz nvim-lspconfig-f5aa43e83c940d46065ea04e3e7d275c0fc7fad8.tar.bz2 nvim-lspconfig-f5aa43e83c940d46065ea04e3e7d275c0fc7fad8.tar.lz nvim-lspconfig-f5aa43e83c940d46065ea04e3e7d275c0fc7fad8.tar.xz nvim-lspconfig-f5aa43e83c940d46065ea04e3e7d275c0fc7fad8.tar.zst nvim-lspconfig-f5aa43e83c940d46065ea04e3e7d275c0fc7fad8.zip | |
feat(svelte): notify LSP of changes in JS/TS files #3958
The Svelte LSP does not attach to regular JS / TS files. To get notified
about changes in these files, it "needs" to send a custom message via
`notify`.
The VS Code extension uses the same workaround[^1] and it has been
discussed to death how to port it to neovim[^2]. Instead of relying on
users finding out about said discussion, it should be included in the
default configuration.
[^1]:
https://github.com/sveltejs/language-tools/blob/2e2c6c3624f2dd21cbda4d8b4b63e0d4df93152e
/packages/svelte-vscode/src/extension.ts#L346
[^2]: https://github.com/sveltejs/language-tools/issues/2008
| -rw-r--r-- |
