diff --git a/config/plugins/cmp.nix b/config/plugins/cmp.nix index 4e1ec14..6073086 100644 --- a/config/plugins/cmp.nix +++ b/config/plugins/cmp.nix @@ -2,6 +2,8 @@ plugins.cmp = { enable = true; settings = { + completion = {keyword_length = 2;}; + mapping = { "" = "cmp.mapping.select_next_item()"; "" = "cmp.mapping.select_prev_item()"; @@ -20,11 +22,11 @@ ''; sources = [ + {name = "nvim_lsp";} {name = "buffer";} {name = "cmdline";} {name = "cmp-clippy";} {name = "luasnip";} - {name = "nvim_lsp";} {name = "path";} ]; };