-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lsp completion items not updating unless I restart the server #56
Comments
Minimal init.lua:
|
repo to reproduce: |
@stefanwatt |
Any update on this? Same issue, is very annoying |
I think the items are cached... |
It seems cached by LSP server side. Because it is fixed by LSP server restart. |
Hi everybody, I wonder if this is related to something I've been dealing with. I added
from |
I don't think the languages matter and it's probably a general issue, but describing the scenario probably helps you understand.
translate(key:TranslationKey
)) from a Svelte file.TranslationKey
being defined like so:type TranslationKey = 'foo' | 'bar'
translate('b
bar
TranslationKey = 'foo' | 'bar'| 'baz'
translate('b
'bar'
and not'baz'
:LspRestart svelte
translate('b
'bar'
and'baz'
I get the same behavior importing the translation file from an Astro component (*.astro).
So it's not a problem with the Svelte LS.
The text was updated successfully, but these errors were encountered: