diff --git a/plugins/cmp.nix b/plugins/cmp.nix index 628823f..2ec48c1 100644 --- a/plugins/cmp.nix +++ b/plugins/cmp.nix @@ -8,17 +8,17 @@ # For path completion { name = "path"; } # For buffer completion - { name = "buffer"; } + { name = "buffer"; keyword_length = 5; } # For command line completion { name = "cmdline"; } ]; mapping = { # means enter "" = "cmp.mapping.confirm({ select = true })"; - "" = "cmp.mapping.select_next_item()"; - "" = "cmp.mapping.select_prev_item()"; + "" = "cmp.mapping.select_next_item()"; + "" = "cmp.mapping.select_prev_item()"; "" = "cmp.mapping.close()"; }; }; }; -} \ No newline at end of file +}