From 78d5e2082554d370f43216406f84872eaa2a4e5b Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 17 Oct 2024 22:46:39 -0500 Subject: remove zsh and nvim configs from this repo and move to another --- nvim/lua/tjk/plugins/cmp.lua | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 nvim/lua/tjk/plugins/cmp.lua (limited to 'nvim/lua/tjk/plugins/cmp.lua') diff --git a/nvim/lua/tjk/plugins/cmp.lua b/nvim/lua/tjk/plugins/cmp.lua deleted file mode 100644 index 1a3cf2f..0000000 --- a/nvim/lua/tjk/plugins/cmp.lua +++ /dev/null @@ -1,26 +0,0 @@ -return { - "hrsh7th/nvim-cmp", - dependencies = { - "hrsh7th/cmp-path", - "hrsh7th/cmp-buffer", - "ray-x/cmp-treesitter", - }, - config = function() - local cmp = require("cmp") - cmp.setup { - sources = { - { name = "path" }, - { name = "buffer" }, - { name = "treesitter" }, - }, - mapping = cmp.mapping.preset.insert { - --[''] = cmp.mapping.scroll_docs(-4), - --[''] = cmp.mapping.scroll_docs(4), - --[''] = cmp.mapping.complete(), - --[''] = cmp.mapping.abort(), - --[''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. - [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. - }, - } - end -} -- cgit v1.2.3