Change the completion trigger characters of the server #3109
Unanswered
userNotFoundByDefault
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everybody,
I am using the lua language server for an embedded ace editor in combination with the ace-linters package, which handles the connection to the lua language server.
When using live autocomplete, I get completion suggestions even when I am just entering a new line.
After some research I found out, that the server has specific trigger characters in the completion provider capability, where '\n' (new line) is also part of it.
Looking into the settings for the completion feature of the server, I did not find means to change that character list (https://luals.github.io/wiki/settings/).
I also studied the Language Server Protocol (https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#lspAny) but did not find out, how to tell the server to change those trigger characters. At the start I thought such settings could be sent using the 'initializationOptions', that are defined during the "initialize"-Request, but I couldn't find any documentation about that either.
Has anyone an idea how to change those trigger characters or where to have a look?
Thanks in advance,
userNotFoundByDefault
Beta Was this translation helpful? Give feedback.
All reactions