mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/dracula.nvim: init
This commit is contained in:
parent
18b7597e6c
commit
f3a811cf25
3 changed files with 42 additions and 0 deletions
20
plugins/colorschemes/dracula-nvim.nix
Normal file
20
plugins/colorschemes/dracula-nvim.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.nixvim.neovim-plugin.mkNeovimPlugin config {
|
||||
name = "dracula";
|
||||
originalName = "dracula.nvim ";
|
||||
defaultPackage = pkgs.vimPlugins.dracula-nvim;
|
||||
|
||||
maintainers = [ lib.nixvim.maintainers.refaelsh ];
|
||||
|
||||
settingsExample = {
|
||||
settings = {
|
||||
italic_comment = true;
|
||||
colors.green = "#00FF00";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -12,6 +12,7 @@
|
|||
./colorschemes/base16
|
||||
./colorschemes/catppuccin.nix
|
||||
./colorschemes/cyberdream.nix
|
||||
./colorschemes/dracula-nvim.nix
|
||||
./colorschemes/dracula.nix
|
||||
./colorschemes/everforest.nix
|
||||
./colorschemes/gruvbox.nix
|
||||
|
|
21
tests/test-sources/plugins/colorschemes/dracula-nvim.nix
Normal file
21
tests/test-sources/plugins/colorschemes/dracula-nvim.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.dracula.enable = true;
|
||||
};
|
||||
|
||||
default = {
|
||||
plugins.dracula = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.dracula = {
|
||||
enable = true;
|
||||
settings = {
|
||||
italic_comment = true;
|
||||
colors.green = "#00FF00";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue