From dec8d36cbdbb3b9c5c12792ed199892ce2e82069 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 31 Dec 2023 08:01:03 -0500 Subject: back to regular lua --- config/plugins/cmp.nix | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 config/plugins/cmp.nix (limited to 'config/plugins/cmp.nix') diff --git a/config/plugins/cmp.nix b/config/plugins/cmp.nix deleted file mode 100644 index 1bc85f1..0000000 --- a/config/plugins/cmp.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - plugins = { - nvim-cmp = { - enable = true; - - completion = { - completeopt = "menu,menuone,noinsert"; - }; - - mapping = { - "" = "cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Insert })"; - "" = "cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Insert })"; - "" = "cmp.mapping.scroll_docs(-4)"; - "" = "cmp.mapping.scroll_docs(4)"; - "" = "cmp.mapping.complete()"; - "" = "cmp.mapping.abort()"; - "" = "cmp.mapping.confirm({ select = true })"; - "" = "cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true})"; - }; - - snippet.expand = "luasnip"; - - sources = map (name: {inherit name;}) [ - "nvim_lsp" - "luasnip" - "path" - "buffer" - "rg" - ]; - }; - }; -} -- cgit v1.2.3