setup nvim-cmp sources

This commit is contained in:
Adithya 2023-08-06 19:45:20 +05:30
parent b4ec314e2f
commit 536a40dc3b
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -120,6 +120,13 @@
}; };
nvim-cmp = { nvim-cmp = {
enable = true; enable = true;
snippet.expand = "luasnip";
sources = [
{name = "nvim_lsp";}
{name = "luasnip";}
{name = "buffers";}
{name = "treesitter";}
];
}; };
treesitter = { treesitter = {
enable = true; enable = true;