Skip to content

Commit

Permalink
neovim: don't show completion on search
Browse files Browse the repository at this point in the history
  • Loading branch information
geodimm committed Dec 27, 2024
1 parent e220a30 commit 8b62f29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nvim/lua/plugins/autocompletion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ return {
selection = 'auto_insert',
},
menu = {
auto_show = function(ctx)
return ctx.mode ~= 'cmdline' or not vim.tbl_contains({ '/', '?' }, vim.fn.getcmdtype())
end,
border = 'rounded',
draw = {
treesitter = { 'lsp' },
Expand Down

0 comments on commit 8b62f29

Please sign in to comment.