diff options
Diffstat (limited to 'lspc.lua')
| -rw-r--r-- | lspc.lua | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -50,12 +50,16 @@ local lspc = { -- message level to show in the UI when receiving messages from the server -- Error = 1, Warning = 2, Info = 3, Log = 4 message_level = 3, + + -- How to present messages to the user. + -- 'message': use vis:message; 'open': use a new split window allowing for syntax highlighting + show_message = 'message', } -- --- ClientCapabilities we tell the language server when calling "initialize" -- -local supported_markup_kind = {'plaintext'} +local supported_markup_kind = {'markdown'} local goto_methods_capabilities = { linkSupport = true, @@ -69,14 +73,14 @@ local client_capabilites = { }, textDocument = { synchronization = {dynamicRegistration = false, didSave = true}, - -- ask the server to send us only plaintext completionItems + -- ask the server to send us only markdown completionItems completion = { dynamicRegistration = false, completionItem = {documentationFormat = supported_markup_kind}, }, - -- ask the server to send us only plaintext hover results + -- ask the server to send us only markdown hover results hover = {dynamicRegistration = false, contentFormat = supported_markup_kind}, - -- ask the server to send us only plaintext signatureHelp results + -- ask the server to send us only markdown signatureHelp results signatureHelp = { dynamicRegistration = false, signatureInformation = {documentationFormat = supported_markup_kind}, |
