From 536a40dc3bad871a823d11c3130f76d8927ee410 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 6 Aug 2023 19:45:20 +0530 Subject: [PATCH] setup nvim-cmp sources --- home/programs/neovim.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix index 020d1b5..2cb09ad 100644 --- a/home/programs/neovim.nix +++ b/home/programs/neovim.nix @@ -120,6 +120,13 @@ }; nvim-cmp = { enable = true; + snippet.expand = "luasnip"; + sources = [ + {name = "nvim_lsp";} + {name = "luasnip";} + {name = "buffers";} + {name = "treesitter";} + ]; }; treesitter = { enable = true;