-
-
Notifications
You must be signed in to change notification settings - Fork 383
Open
Description
How are you using the lua-language-server?
NeoVim
Which OS are you using?
MacOS
What is the issue affecting?
Completion
Expected Behaviour
According to the LSP spec, clients should be able to disable support for snippets by setting capabilities.textDocument.completion.completionItem.snippetSupport = false
. However, lua-language-server seems to ignore this setting in favor of its own (non-standard?) settings (completion.callSnippet = "Disable"
and completion.keywordSnippet = "Disable"
.
Actual Behaviour
Even if a user sets capabilities.textDocument.completion.completionItem.snippetSupport = false
, snippets continue to be sent by the language server.
Reproduction steps
- Set
capabilities.textDocument.completion.completionItem.snippetSupport = false
- Start typing
i...
orfo..
- Snippets will be shown for
if
andfor
.
Additional Notes
Since it seems standard to disable snippets using the capabilities
setting, I'm hoping that lua-language-server can support that.
Log File
No response
andrewbraxton
Metadata
Metadata
Assignees
Labels
No labels