summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-08 19:08:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-08 19:08:39 +0800
commitbc3976210d46fc7187a00930b6761abad60cc967 (patch)
tree67926f3a242a575bbf40a7e7d43d77662afd8c47 /script/provider
parent896e4b9796ab5c9d3943640f02114dccc48ba3dd (diff)
downloadlua-language-server-bc3976210d46fc7187a00930b6761abad60cc967.zip
fix #706
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/markdown.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/provider/markdown.lua b/script/provider/markdown.lua
index 3a215f0f..213c417d 100644
--- a/script/provider/markdown.lua
+++ b/script/provider/markdown.lua
@@ -23,9 +23,6 @@ function mt:add(language, text)
}
else
text = tostring(text)
- if #text == 0 then
- return
- end
self[#self+1] = {
type = 'text',
language = language,