Skip to content
Snippets Groups Projects
Commit 920f252f authored by 最萌小汐's avatar 最萌小汐
Browse files

reslove #537

parent fe5d329c
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
## 1.21.2
* `FIX` loaded new file with ignored filename
* `FIX` [#536](https://github.com/sumneko/lua-language-server/issues/536)
* `FIX` [#537](https://github.com/sumneko/lua-language-server/issues/537)
## 1.21.1
`2021-5-8`
......
......@@ -29,6 +29,9 @@ function mt:add(language, text)
end
self[#self+1] = text
else
if #self > 0 then
self[#self+1] = ''
end
self[#self+1] = ('```%s\n%s\n```'):format(language, text)
end
......
......@@ -623,6 +623,7 @@ hover = {
name = 'f',
description = [[
@*param* `a` — xxx
```lua
a: boolean
| true -- ttt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment