summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/provider/markdown.lua2
-rw-r--r--test/completion/init.lua1
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]],
}