fix: Use of old config key bg_hl

Closes #6
This commit is contained in:
hedy
2023-11-12 08:00:29 +08:00
parent b9594d80a0
commit 6378318f21

View File

@@ -40,8 +40,7 @@ function M.show_hover()
end
-- FIXME
local bufnr, winnr = util.open_floating_preview(markdown_lines, 'markdown', config)
local winhi = 'Normal:' .. cfg.o.preview_window.bg_hl
vim.api.nvim_win_set_option(winnr, 'winhighlight', winhi)
vim.api.nvim_win_set_option(winnr, 'winhighlight', cfg.o.preview_window.winhl)
end
)
end