Skip to content

Commit

Permalink
Make doc popup not focusable
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Slusny <[email protected]>
  • Loading branch information
deathbeam committed Nov 30, 2024
1 parent 8aba452 commit 9b50176
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/autocomplete/buffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ local function complete_changed(args)
vim.wo[wininfo.winid].conceallevel = 2
vim.wo[wininfo.winid].concealcursor = 'niv'
vim.bo[wininfo.bufnr].syntax = 'markdown'
vim.api.nvim_win_set_config(wininfo.winid, { border = M.config.border })
vim.api.nvim_win_set_config(wininfo.winid, {
border = M.config.border,
focusable = false,
})
-- FIXME: Treesitter is *very* buggy with some LSPs, do not use. Already thought it was fixed once before but no
-- vim.treesitter.start(wininfo.bufnr, 'markdown')
end
Expand Down

0 comments on commit 9b50176

Please sign in to comment.