diff --git a/lua/plugins/csp.lua b/lua/plugins/csp.lua new file mode 100644 index 0000000..b2ca118 --- /dev/null +++ b/lua/plugins/csp.lua @@ -0,0 +1,20 @@ +return { + { + "hrsh7th/nvim-cmp", + -- load cmp on InsertEnter + event = "InsertEnter", + -- these dependencies will only be loaded when cmp loads + -- dependencies are always lazy-loaded unless specified otherwise + dependencies = { + "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-buffer", + }, + config = function() + -- ... + end, + }, + { + "neovim/nvim-lspconfig", + }, +} +