diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-12-06 10:33:32 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-12-06 10:33:32 +0100 |
| commit | ff92a0f1fca0f0db5b00022fc2ac41579ac5ab24 (patch) | |
| tree | b93388c6eb14a5f0638f2b840ac8aaa346c290ba /init.lua | |
| parent | b08f3bfbb0428aba83968d3339e12c7e29d7997a (diff) | |
| download | vis-lspc-ff92a0f1fca0f0db5b00022fc2ac41579ac5ab24.tar.gz vis-lspc-ff92a0f1fca0f0db5b00022fc2ac41579ac5ab24.zip | |
handle string or MarkContent documentation in SignatureInformation
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -730,8 +730,8 @@ local function lspc_handle_signature_help_method_response(win, result, call_pos) for _, signature in ipairs(signatures) do local sig_msg = signature.label if signature.documentation then - sig_msg = sig_msg .. '\n\tdocumentation: ' .. - signature.documentation.value + doc = signature.documentation.value or signature.documentation + sig_msg = sig_msg .. '\n\tdocumentation: ' .. doc end help_msg = help_msg .. '\n' .. sig_msg end |
