diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-09 17:25:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-09 17:25:56 +0800 |
commit | d7aed77d89218b52ca1feb3f68c42de149d05dee (patch) | |
tree | 194055c03e7c8596a1c9657f996bbabb2b7c5dad | |
parent | 477876c1d89bc8e14cf72d053ade2358ab446d07 (diff) | |
download | lua-language-server-d7aed77d89218b52ca1feb3f68c42de149d05dee.zip |
improve markdown
-rw-r--r-- | script/provider/markdown.lua | 2 | ||||
-rw-r--r-- | test/completion/init.lua | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/script/provider/markdown.lua b/script/provider/markdown.lua index 3b4a2be1..a8adbbef 100644 --- a/script/provider/markdown.lua +++ b/script/provider/markdown.lua @@ -13,7 +13,7 @@ local function checkSplitLine(self) return end - self[#self+1] = '---' + self[#self+1] = '\n---' end function mt:add(language, text) diff --git a/test/completion/init.lua b/test/completion/init.lua index 9b1c55c1..69241afd 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -1814,6 +1814,7 @@ zz$ ```lua global zzz: integer = 1 ``` + --- abc]], } |