diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-29 20:12:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-29 20:12:12 +0800 |
commit | 3bcd1fc6672df2e8a36002caa206f67eb0e5781f (patch) | |
tree | 1716d1db0e819c36482326040ed47444c0a46f4a /script-beta/provider/markdown.lua | |
parent | 49a08a52831faa22fd45cb819a96ece41e538673 (diff) | |
download | lua-language-server-3bcd1fc6672df2e8a36002caa206f67eb0e5781f.zip |
自动完成的 displayContext
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 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 |