summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument
diff options
context:
space:
mode:
authorResike <resike@gmail.com>2019-09-20 20:40:26 +0200
committerGitHub <noreply@github.com>2019-09-20 20:40:26 +0200
commit47704627b8a7f91af49c892908fe66d6f6da9ecc (patch)
treef2a4bcda293d818e5ca413e6ac511b7fd48e6aee /server/src/method/textDocument
parent8602723c7127e2fd6380c602650de62bd8afad02 (diff)
downloadlua-language-server-47704627b8a7f91af49c892908fe66d6f6da9ecc.zip
Update hover.lua
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',
}
}