fix: fix buffer line index error and online process need to be fixed

This commit is contained in:
JuanZoran
2023-03-13 22:39:40 +08:00
parent 693dd0c7aa
commit 02fe6c510a
3 changed files with 43 additions and 23 deletions

View File

@ -32,7 +32,7 @@ local strategy = {
hover.buffer:setline(it(word, 'TransWord'))
else
hover.buffer:setline(f {
width = hover.width,
width = hover.opts.width,
text = t {
it(word, 'TransWord'),
t {