1
0
Fork 0
forked from dea/dea-files
flake-dea/homemanager/vim/nvf.nix

42 lines
961 B
Nix
Raw Normal View History

2026-02-05 23:02:49 -05:00
{ pkgs, ... }:
2026-02-06 15:06:26 -05:00
let
candyland-nvim = pkgs.vimUtils.buildVimPlugin {
pname = "candyland-nvim";
version = "1.0";
src = pkgs.fetchFromGitHub {
owner = "AmberLehmann";
repo = "candyland.nvim";
rev = "neovim-colorscheme";
hash = "sha256-KEHMnpyJOhdF8ZPWuKF3uP7UX5fnzE31LMe+XxHK+i8=";
};
};
in
2026-02-05 23:02:49 -05:00
{
programs.nvf = {
enable = true;
# Your settings need to go into the settings attribute set
# most settings are documented in the appendix
settings = {
vim.viAlias = false;
2026-02-09 23:02:17 -05:00
vim = {
vimAlias = true;
2026-02-19 13:46:23 -05:00
lsp.enable = true;
extraPlugins.candyland-nvim = {
2026-02-09 23:02:17 -05:00
package = candyland-nvim;
2026-02-19 13:46:23 -05:00
setup = "vim.cmd([[colorscheme candyland]])";
};
notes = {
orgmode = {
enable = true;
treesitter.enable = true;
};
todo-comments.enable = true;
};
theme.enable = false;
2026-02-06 13:13:24 -05:00
};
2026-02-05 23:02:49 -05:00
};
};
}