setup cmp

This commit is contained in:
Adithya 2023-04-03 22:30:34 +05:30
parent b53c3b2e14
commit 62eb3de84d
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -69,9 +69,23 @@
fugitive.enable = true;
gitsigns.enable = true;
trouble.enable = true;
nvim-cmp.enable = true;
nvim-cmp = {
enable = true;
snippet.expand = "ultisnips";
sources = [
{ name = "buffer"; }
{ name = "nvim_lsp"; }
{ name = "nvim_lsp_document_symbol"; }
{ name = "nvim_lsp_signature_help"; }
{ name = "treesitter"; }
{ name = "ultisnips"; }
];
};
cmp-buffer.enable = true;
cmp-nvim-lsp.enable = true;
cmp-nvim-lsp-document-symbol.enable = true;
cmp-nvim-lsp-signature-help.enable = true;
cmp-nvim-ultisnips.enable = true;
cmp-treesitter.enable = true;
bufferline = {
enable = true;