feat: create gruvbox-themed nixvim configuration

Added nixvim as a flake input in flake.nix

Added plugin definitions ini home-manager/stvnliu/nixvim/

Added configuration options for easy toggling for editors
This commit is contained in:
Zhongheng Liu 2024-08-11 19:50:16 +08:00
commit fcb2066392
No known key found for this signature in database
22 changed files with 490 additions and 39 deletions

View file

@ -0,0 +1,23 @@
{
config.opts = {
updatetime = 100; # Faster completion
number = true;
relativenumber = true;
autoindent = true;
clipboard = "unnamedplus";
expandtab = true;
shiftwidth = 2;
smartindent = true;
tabstop = 2;
ignorecase = true;
incsearch = true;
smartcase = true;
wildmode = "list:longest";
swapfile = false;
undofile = true; # Build-in persistent undo
};
}