summaryrefslogtreecommitdiff
path: root/script-beta/provider/markdown.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-16 12:58:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-16 12:58:49 +0800
commitcfd28f56f6c0083aede3f16d47976337fecb28e9 (patch)
tree1bf2c8b11d847f03f49445f3a19c7b68f9b44c9e /script-beta/provider/markdown.lua
parent720824b2b118df49b7fa03a7ccc98bd48cbff2c6 (diff)
downloadlua-language-server-cfd28f56f6c0083aede3f16d47976337fecb28e9.zip
查看文档
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 874b3abd..7bd34444 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
+ self[#self+1] = text .. '\n'
end
end