diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-05-23 09:55:28 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-05-23 09:55:28 +0200 |
| commit | c405ef9823ec7fa32ea1e9217b12f66bbe71e595 (patch) | |
| tree | 40203f8ca30060fe469ee47a0ba2b373b1c4718f | |
| parent | b777ef7207c3dee575355f78d019b4ff2f0fb460 (diff) | |
| download | vis-lspc-c405ef9823ec7fa32ea1e9217b12f66bbe71e595.tar.gz vis-lspc-c405ef9823ec7fa32ea1e9217b12f66bbe71e595.zip | |
use ls:call_method call convention consistently
| -rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -745,7 +745,7 @@ end -- resulting in longer stalls after method invocation. local function ls_call_text_document_method(ls, method, params, win, ctx) ls_send_did_change(ls, win.file) - ls_call_method(ls, 'textDocument/' .. method, params, win, ctx) + ls:call_method('textDocument/' .. method, params, win, ctx) end local function lspc_handle_goto_method_response(req, result) @@ -1255,7 +1255,7 @@ end -- Sending the exit notification and closing the file handle are done in -- the shutdown response handler. local function ls_shutdown(ls) - ls_call_method(ls, 'shutdown') + ls:call_method('shutdown') end local function ls_start(ls, init_options) |
