Skip to content

Commit 70d7332

Browse files
committed
[Update] height of float window
1 parent be29922 commit 70d7332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/codesnap/highlight.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ end
1717

1818
function highlight_module.create_highlight_selector_window(cb_name, code)
1919
local width = 100
20-
local height = 20
20+
local height = #code + 2
2121
local row = vim.fn.winheight(0) / 2 - height / 2
2222
local col = vim.fn.winwidth(0) / 2 - width / 2
2323
local bufnr = vim.api.nvim_create_buf(false, true)

0 commit comments

Comments
 (0)