summary refs log tree commit diff stats
path: root/hm/nixvim
diff options
context:
space:
mode:
Diffstat (limited to 'hm/nixvim')
-rw-r--r--hm/nixvim/config.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hm/nixvim/config.nix b/hm/nixvim/config.nix
index 24e5a33..7d3ddc0 100644
--- a/hm/nixvim/config.nix
+++ b/hm/nixvim/config.nix
@@ -57,6 +57,7 @@ pkgs: {
     };
     cmp = {
       enable = true;
+      autoEnableSources = true;
       settings = {
         snippet.expand = "function(args) require('luasnip').lsp_expand(args.body) end";
         mappings = {
@@ -69,6 +70,7 @@ pkgs: {
           "<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
         };
         sources = [
+          {name = "luasnip";}
           {name = "nvim_lsp";}
           {name = "path";}
           {