diff options
author | sils <sils@sils.li> | 2023-11-09 20:11:54 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-11-09 20:11:54 +0100 |
commit | ded1ae74a0476b0fb1fd81a1dc957df1a701c7ea (patch) | |
tree | caa884b903026d7dde1e930506c19804bb9364f3 | |
parent | fix(sys/security/sudo): disable lecture (diff) | |
download | nix-config-ded1ae74a0476b0fb1fd81a1dc957df1a701c7ea.tar.gz nix-config-ded1ae74a0476b0fb1fd81a1dc957df1a701c7ea.zip |
feat(u/sils/nixvim): switch to nvim-cmp as coq-nvim is currently broken
-rw-r--r-- | users/sils/nixvim/default.nix | 17 |
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; }; |