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,22 @@
{
plugins.none-ls = {
enable = true;
sources = {
diagnostics = {
golangci_lint.enable = true;
ktlint.enable = true;
statix.enable = true;
};
formatting = {
fantomas.enable = true;
gofmt.enable = true;
goimports.enable = true;
ktlint.enable = true;
nixfmt.enable = true;
markdownlint.enable = true;
shellharden.enable = true;
shfmt.enable = true;
};
};
};
}