diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-01-14 16:21:22 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-01-14 17:22:46 +0100 |
| commit | 2719e586fcbbe63d6652605d2e3aeee22274e511 (patch) | |
| tree | 3fdb67b00e91a2ccd5c4d03e1b81df05c105b516 /lspc.lua | |
| parent | 2b17949eb37356c11814a293c8d822f1ff856cb4 (diff) | |
| download | vis-lspc-2719e586fcbbe63d6652605d2e3aeee22274e511.tar.gz vis-lspc-2719e586fcbbe63d6652605d2e3aeee22274e511.zip | |
support configuration and initializationOptions per language server
Send language server settings after initialization via a
workspace/didChangeConfiguration notification.
Implement a workspace/configuration handler using the values stored
in the language server settings.
Send the init_options as initializationOptions in the initialize
parameters.
Diffstat (limited to 'lspc.lua')
| -rw-r--r-- | lspc.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,7 +41,10 @@ local goto_methods_capabilities = { } local client_capabilites = { - workspace = {configuration = false}, + workspace = { + configuration = true, + didChangeConfiguration = {dynamicRegistration = false}, + }, textDocument = { synchronization = {dynamicRegistration = false, didSave = true}, -- ask the server to send us only plaintext completionItems |
