Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 9b50176

Browse files
committed
Make doc popup not focusable
Signed-off-by: Tomas Slusny <[email protected]>
1 parent 8aba452 commit 9b50176

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lua/autocomplete/buffer.lua

+4-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ local function complete_changed(args)
194194
vim.wo[wininfo.winid].conceallevel = 2
195195
vim.wo[wininfo.winid].concealcursor = 'niv'
196196
vim.bo[wininfo.bufnr].syntax = 'markdown'
197-
vim.api.nvim_win_set_config(wininfo.winid, { border = M.config.border })
197+
vim.api.nvim_win_set_config(wininfo.winid, {
198+
border = M.config.border,
199+
focusable = false,
200+
})
198201
-- FIXME: Treesitter is *very* buggy with some LSPs, do not use. Already thought it was fixed once before but no
199202
-- vim.treesitter.start(wininfo.bufnr, 'markdown')
200203
end

0 commit comments

Comments
 (0)