mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/modicator: init
This commit is contained in:
parent
51203927e3
commit
fda1b96978
2 changed files with 71 additions and 0 deletions
26
plugins/by-name/modicator/default.nix
Normal file
26
plugins/by-name/modicator/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "modicator";
|
||||
packPathName = "modicator.nvim";
|
||||
package = "modicator-nvim";
|
||||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
extraConfig = {
|
||||
opts = {
|
||||
termguicolors = lib.mkDefault true;
|
||||
cursorline = lib.mkDefault true;
|
||||
number = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
|
||||
settingsExample = {
|
||||
show_warnings = true;
|
||||
highlights = {
|
||||
defaults = {
|
||||
bold = false;
|
||||
italic = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
45
tests/test-sources/plugins/by-name/modicator/default.nix
Normal file
45
tests/test-sources/plugins/by-name/modicator/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.modicator.enable = true;
|
||||
};
|
||||
|
||||
default = {
|
||||
plugins.modicator = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
show_warnings = false;
|
||||
highlights = {
|
||||
defaults = {
|
||||
bold = false;
|
||||
italic = false;
|
||||
};
|
||||
use_cursorline_background = false;
|
||||
};
|
||||
integration = {
|
||||
lualine = {
|
||||
enabled = true;
|
||||
mode_section = null;
|
||||
highlight = "bg";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.modicator = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
show_warnings = true;
|
||||
highlights = {
|
||||
defaults = {
|
||||
bold = false;
|
||||
italic = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue