From 4825d1cf4a0f0470db248fc4c36661263c843cf2 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sat, 16 Mar 2024 17:49:56 +0100 Subject: [PATCH] Remove cmp, docs not correct atm. --- home-manager/modules/nvim.nix | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/home-manager/modules/nvim.nix b/home-manager/modules/nvim.nix index 7fc26d4..89e9848 100644 --- a/home-manager/modules/nvim.nix +++ b/home-manager/modules/nvim.nix @@ -188,41 +188,6 @@ sign_define({ name = "DiagnosticSignInfo", text = "I" }) ''; }; - - nvim-cmp = { - enable = true; - autoEnableSources = true; - sources = - [ { name = "nvim_lsp"; } { name = "path"; } { name = "snippy"; } ]; - snippet.expand = "snippy"; - mapping = { - "" = "cmp.mapping.confirm({ select = false })"; - "" = { - action = '' - function(fallback) - if cmp.visible then - cmp.select_next_item() - else - fallback() - end - end - ''; - modes = [ "i" "s" ]; - }; - "" = { - action = '' - function(fallback) - if cmp.visible then - cmp.select_prev_item() - else - fallback() - end - end - ''; - modes = [ "i" "s" ]; - }; - }; - }; }; colorschemes.catppuccin = {