Skip to content

Commit

Permalink
disable distracting/noisy autocomplete, completion manually via <C-n>
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Mar 20, 2024
1 parent 35b4cc8 commit 4b6b0a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/plugins/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ return {

cmp.setup({
completion = {
keyword_length = 2
-- Can be quite distracting if enabled.
-- Manual completion via <C-n> possible.
autocomplete = false
},
mapping = cmp.mapping.preset.insert({
['<C-e>'] = cmp.mapping.abort(),
Expand Down

0 comments on commit 4b6b0a2

Please sign in to comment.