diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-01-02 14:46:08 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-01-02 14:46:08 +0100 |
| commit | 1ddebc95b7a90c28e3cb5a9e386f6c2fbf251928 (patch) | |
| tree | cd7a03d83d7e926b1c9940891d09adbea5ade922 /init.lua | |
| parent | 9c0a9b4fdcb2f0912b8ec3b9f7127d660565f898 (diff) | |
| download | vis-lspc-1ddebc95b7a90c28e3cb5a9e386f6c2fbf251928.tar.gz vis-lspc-1ddebc95b7a90c28e3cb5a9e386f6c2fbf251928.zip | |
use local variable instead of a global one
Fixes: 9c0a9b4fdcb2f0912b8ec3b9f7127d660565f898
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -863,7 +863,7 @@ local function ls_handle_method_response(ls, method_response, req) elseif method == 'initialize' then ls.initialized = true ls.capabilities = result.capabilities - params = {} + local params = {} setmetatable(params, {__jsontype = 'object'}) ls_send_notification(ls, 'initialized', params) |
