diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-02-13 17:58:07 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-02-13 17:58:07 -0500 |
commit | 3c7ee73a8036cfaba464640999303e157b19ec15 (patch) | |
tree | 852f2e51c85c41997f736a04d5a96d5db8efc54c /lua/cshift/plugins/cmp.lua | |
parent | a42bc21a1db924910129a259335fccdeb0080c34 (diff) | |
parent | 013dfcae215ae20fe30654247a91a026118deba4 (diff) |
merge laptop and desktop configs
Diffstat (limited to 'lua/cshift/plugins/cmp.lua')
-rw-r--r-- | lua/cshift/plugins/cmp.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lua/cshift/plugins/cmp.lua b/lua/cshift/plugins/cmp.lua new file mode 100644 index 0000000..a1e80b4 --- /dev/null +++ b/lua/cshift/plugins/cmp.lua @@ -0,0 +1,26 @@ +return { + "hrsh7th/nvim-cmp", + dependencies = { + "neovim/nvim-lspconfig", + "hrsh7th/cmp-nvim-lsp", + }, + + config = function() + local cmp = require("cmp") + cmp.setup({ + snippit = { + expand = function(args) + end + }, + + window = { + }, + + sources = cmp.config.sources({ + {name = "nvim_lsp"} + }, { + {name = "buffer"} + }) + }) + end +} |