From 82bb4fd2ca24b6d569c7b9257c5fafeb5bd892bf Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 23 Feb 2025 19:20:57 +0100 Subject: [PATCH] Replace nvim-cmp with blink.cmp --- modules/home-manager/neovim.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/modules/home-manager/neovim.nix b/modules/home-manager/neovim.nix index 3d10e44..e6f27f3 100644 --- a/modules/home-manager/neovim.nix +++ b/modules/home-manager/neovim.nix @@ -89,9 +89,6 @@ }; }; - # Setup snippet support - snippets.luasnip.enable = true; - # Enable mini modules ( mini is amazing ) mini = { # Text editing @@ -135,15 +132,13 @@ telescope.enable = true; # Enable autocompletion - autocomplete.nvim-cmp = { - enable = true; - - mappings = { - close = null; - complete = null; - confirm = ""; - next = ""; - previous = ""; + autocomplete = { + enableSharedCmpSources = true; + blink-cmp = { + enable = true; + setupOpts = { + keymap.preset = "default"; + }; }; };