diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-12 17:36:54 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-12 17:36:54 +0800 |
commit | 5b893a1b141a7eb7f034697431dfc8dc63232049 (patch) | |
tree | 17ae129bd88909946d573b46e7d8f058b1681dbe /script-beta/provider/markdown.lua | |
parent | 681c101c3f3b5713034c16ff87dae0aeaea57d96 (diff) | |
download | lua-language-server-5b893a1b141a7eb7f034697431dfc8dc63232049.zip |
修正一些bug
Diffstat (limited to 'script-beta/provider/markdown.lua')
-rw-r--r-- | script-beta/provider/markdown.lua | 2 |
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 |