summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-04 13:24:44 +0200
committerSilas Schöffel <sils@sils.li>2024-04-04 13:31:46 +0200
commit61ccbc6f505c1615efbd8568930317bee11f1807 (patch)
tree19181a2c30b50084e449fc6b0022b659053b00e6
parentgit: configure sendemail (diff)
downloadnix-config-61ccbc6f505c1615efbd8568930317bee11f1807.tar.gz
nix-config-61ccbc6f505c1615efbd8568930317bee11f1807.zip
nixvim: re-introduce nvim-cmp configuration as cmp
This paritially reverts commit 563a58c2345eca3f4f528d646440b7b78fc185b7.
-rw-r--r--users/sils/nixvim/config.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/users/sils/nixvim/config.nix b/users/sils/nixvim/config.nix
index 9c0c4cc..5820c2a 100644
--- a/users/sils/nixvim/config.nix
+++ b/users/sils/nixvim/config.nix
@@ -55,6 +55,19 @@ pkgs: {
         theme = "minimalist";
       };
     };
+    cmp = {
+      enable = false;
+      settings = {
+        preselect = "None";
+        sources = [
+          {name = "nvim_lsp";}
+          {name = "path";}
+          {name = "buffer";}
+          {name = "git";}
+          {name = "conventionalcommits";}
+        ];
+      };
+    };
     coq-nvim = {
       enable = true;
       settings = {