41 lines
961 B
Nix
41 lines
961 B
Nix
{ pkgs, ... }:
|
|
|
|
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
|
|
{
|
|
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;
|
|
vim = {
|
|
vimAlias = true;
|
|
lsp.enable = true;
|
|
extraPlugins.candyland-nvim = {
|
|
package = candyland-nvim;
|
|
setup = "vim.cmd([[colorscheme candyland]])";
|
|
};
|
|
notes = {
|
|
orgmode = {
|
|
enable = true;
|
|
treesitter.enable = true;
|
|
};
|
|
todo-comments.enable = true;
|
|
};
|
|
theme.enable = false;
|
|
};
|
|
};
|
|
};
|
|
}
|