summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/textDocument')
-rw-r--r--server/src/method/textDocument/hover.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/textDocument/hover.lua b/server/src/method/textDocument/hover.lua
index f127c8a8..f8dba27c 100644
--- a/server/src/method/textDocument/hover.lua
+++ b/server/src/method/textDocument/hover.lua
@@ -35,7 +35,7 @@ return function (lsp, params)
local response = {
contents = {
- value = text,
+ value = text:gsub("```lua\n\n```", ""),
kind = 'markdown',
}
}