chore: make hover window focusable and update docs

This commit is contained in:
JuanZoran
2023-04-16 16:31:35 +08:00
parent 335c5079cc
commit 3faab735fb
4 changed files with 38 additions and 34 deletions

View File

@ -15,4 +15,9 @@
- [ ] Unlimit width for sentence
已知问题:
1. 缓存了的单词, 无法使用toggle_entry 进入页面
2. 加载配置需要输入所有表的key
- default_strategy can't deal with table correctly

View File

@ -175,7 +175,7 @@ end
---@param str string
---@return boolean
function M.is_word(str)
return str:find('%W') == nil
return str:find '%W' == nil
end
---@param list any[]

View File

@ -198,7 +198,7 @@ local default_opts = {
-- zindex
style = 'minimal',
border = 'rounded',
focusable = false,
focusable = true,
noautocmd = true,
},
}