summaryrefslogtreecommitdiff
path: root/lua/cshift/plugins/cmp.lua
blob: a1e80b458cec14617b992c07342e12a537f85542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}