switch to luasnip for snippets

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

View file

@ -71,22 +71,23 @@
trouble.enable = true;
nvim-cmp = {
enable = true;
snippet.expand = "ultisnips";
snippet.expand = "luasnip";
sources = [
{ name = "buffer"; }
{ name = "nvim_lsp"; }
{ name = "nvim_lsp_document_symbol"; }
{ name = "nvim_lsp_signature_help"; }
{ name = "treesitter"; }
{ name = "ultisnips"; }
{ name = "luasnip"; }
];
};
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;
cmp_luasnip.enable = true;
luasnip.enable = true;
bufferline = {
enable = true;
diagnostics = "nvim_lsp";