aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
authorgit-bruh <prathamIN@proton.me>2024-04-01 23:33:07 +0530
committerFlorian Fischer <florian.fischer@muhq.space>2024-04-12 10:11:08 +0200
commit85ace3c4355d7bb9f981b9d24a84c790347575c5 (patch)
treeeda0a1a7a88b158ab2305ac2bfe368fd46678418 /lspc.lua
parent6acbe06d75c7f973a207423b7109d084b85d09b6 (diff)
downloadvis-lspc-85ace3c4355d7bb9f981b9d24a84c790347575c5.tar.gz
vis-lspc-85ace3c4355d7bb9f981b9d24a84c790347575c5.zip
_show_markdown_message: helper for markdown info
Diffstat (limited to 'lspc.lua')
-rw-r--r--lspc.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lspc.lua b/lspc.lua
index aa51560..1af21a5 100644
--- a/lspc.lua
+++ b/lspc.lua
@@ -55,7 +55,7 @@ local lspc = {
--
--- 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 +69,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},