From ded1ae74a0476b0fb1fd81a1dc957df1a701c7ea Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 9 Nov 2023 20:11:54 +0100 Subject: feat(u/sils/nixvim): switch to nvim-cmp as coq-nvim is currently broken --- users/sils/nixvim/default.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'users') 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; }; -- cgit 1.4.1