summaryrefslogtreecommitdiff
path: root/script-beta/provider/markdown.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-12 17:36:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-12 17:36:54 +0800
commit5b893a1b141a7eb7f034697431dfc8dc63232049 (patch)
tree17ae129bd88909946d573b46e7d8f058b1681dbe /script-beta/provider/markdown.lua
parent681c101c3f3b5713034c16ff87dae0aeaea57d96 (diff)
downloadlua-language-server-5b893a1b141a7eb7f034697431dfc8dc63232049.zip
修正一些bug
Diffstat (limited to 'script-beta/provider/markdown.lua')
-rw-r--r--script-beta/provider/markdown.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/provider/markdown.lua b/script-beta/provider/markdown.lua
index 0f69ad87..874b3abd 100644
--- a/script-beta/provider/markdown.lua
+++ b/script-beta/provider/markdown.lua
@@ -9,7 +9,7 @@ function mt:add(language, text)
if language == 'lua' then
self[#self+1] = ('```lua\n%s\n```'):format(text)
else
- self[#self+1] = text:gsub('\n', '\n\n')
+ self[#self+1] = text
end
end