chore: use conf.theme instead of conf.style.theme

This commit is contained in:
JuanZoran
2023-03-15 19:27:21 +08:00
parent 52238cb1e7
commit 21351b3a26
6 changed files with 92 additions and 91 deletions

View File

@ -12,6 +12,7 @@ local strategy = {
pin = function(hover)
if hover.pin then return end
hover.pin = true
local window = hover.window
local width, height = window:width(), window:height()
local col = vim.o.columns - width - 3
@ -25,7 +26,6 @@ local strategy = {
})
window:set('wrap', true)
hover.pin = true
end,
close = function(hover)