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 = {