Skip to content

Commit a2b67c8

Browse files
committed
nvim_create_buf
1 parent 7875178 commit a2b67c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/kide/tools/ai.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ M.translate_float = function(request)
149149
style = "minimal", -- 最小化样式
150150
border = "rounded", -- 窗口边框样式
151151
}
152-
local buf = vim.api.nvim_create_buf(false, false)
152+
local buf = vim.api.nvim_create_buf(false, true)
153153
local win = vim.api.nvim_open_win(buf, true, opts)
154154
vim.wo[win].number = false -- 不显示行号
155155

0 commit comments

Comments
 (0)