summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument/hover.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-09-21 00:58:20 -0500
committerGitHub <noreply@github.com>2019-09-21 00:58:20 -0500
commit9ce1899a64c0fbb285e5e0183f5107ede08d89d1 (patch)
treef2a4bcda293d818e5ca413e6ac511b7fd48e6aee /server/src/method/textDocument/hover.lua
parent8602723c7127e2fd6380c602650de62bd8afad02 (diff)
parent47704627b8a7f91af49c892908fe66d6f6da9ecc (diff)
downloadlua-language-server-9ce1899a64c0fbb285e5e0183f5107ede08d89d1.zip
Merge pull request #91 from Resike/patch-2
Update hover.lua
Diffstat (limited to 'server/src/method/textDocument/hover.lua')
-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',
}
}