summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/sils/nixvim/default.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/users/sils/nixvim/default.nix b/users/sils/nixvim/default.nix
index 9644dea..e560675 100644
--- a/users/sils/nixvim/default.nix
+++ b/users/sils/nixvim/default.nix
@@ -9,6 +9,9 @@ in {
       shiftwidth = 2;
       tabstop = 2;
       scrolloff = 999;
+
+      textwidth = 83;
+      linebreak = true;
     };
     colorschemes.gruvbox.enable = true;
     inherit maps;
@@ -19,7 +22,7 @@ in {
         theme = "minimalist";
       };
       coq-nvim = {
-        enable = true;
+        enable = false;
         autoStart = "shut-up";
         installArtifacts = true;
       };
@@ -65,6 +68,18 @@ in {
       nvim-autopairs = {
         enable = true;
       };
+      nvim-cmp = {
+        enable = true;
+        mappingPresets = ["insert" "cmdline"];
+        preselect = "None";
+        sources = [
+          {name = "nvim_lsp";}
+          {name = "path";}
+          {name = "buffer";}
+          {name = "git";}
+          {name = "conventionalcommits";}
+        ];
+      };
       vimtex = {
         enable = true;
       };