summaryrefslogtreecommitdiff
path: root/script-beta/provider/markdown.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-29 20:12:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-29 20:12:12 +0800
commit3bcd1fc6672df2e8a36002caa206f67eb0e5781f (patch)
tree1716d1db0e819c36482326040ed47444c0a46f4a /script-beta/provider/markdown.lua
parent49a08a52831faa22fd45cb819a96ece41e538673 (diff)
downloadlua-language-server-3bcd1fc6672df2e8a36002caa206f67eb0e5781f.zip
自动完成的 displayContext
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 658107ae..56e7d8f1 100644
--- a/script-beta/provider/markdown.lua
+++ b/script-beta/provider/markdown.lua
@@ -3,7 +3,7 @@ mt.__index = mt
mt.__name = 'markdown'
function mt:add(language, text)
- if not text then
+ if not text or #text == 0 then
return
end
if language == 'md' then