plugins/blink-pairs: init
This commit is contained in:
parent
08672dfdbf
commit
9fd62cece2
2 changed files with 98 additions and 0 deletions
31
plugins/by-name/blink-pairs/default.nix
Normal file
31
plugins/by-name/blink-pairs/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "blink-pairs";
|
||||
moduleName = "blink.pairs";
|
||||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
settingsExample = {
|
||||
mappings.enabled = false;
|
||||
highlights = {
|
||||
enabled = true;
|
||||
cmdline = true;
|
||||
groups = [
|
||||
"rainbow1"
|
||||
"rainbow2"
|
||||
"rainbow3"
|
||||
"rainbow4"
|
||||
"rainbow5"
|
||||
"rainbow6"
|
||||
];
|
||||
unmatched_group = "";
|
||||
matchparen = {
|
||||
enabled = true;
|
||||
cmdline = false;
|
||||
include_surrounding = false;
|
||||
group = "BlinkPairsMatchParen";
|
||||
priority = 250;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
67
tests/test-sources/plugins/by-name/blink-pairs/default.nix
Normal file
67
tests/test-sources/plugins/by-name/blink-pairs/default.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.blink-pairs.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.blink-pairs = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mappings = {
|
||||
enabled = true;
|
||||
cmdline = true;
|
||||
disabled_filetypes = [ ];
|
||||
pairs = [ ];
|
||||
};
|
||||
highlights = {
|
||||
enabled = true;
|
||||
cmdline = true;
|
||||
groups = [
|
||||
"BlinkPairsOrange"
|
||||
"BlinkPairsPurple"
|
||||
"BlinkPairsBlue"
|
||||
];
|
||||
unmatched_group = "BlinkPairsUnmatched";
|
||||
matchparen = {
|
||||
enabled = true;
|
||||
cmdline = false;
|
||||
include_surrounding = false;
|
||||
group = "BlinkPairsMatchParen";
|
||||
priority = 250;
|
||||
};
|
||||
};
|
||||
debug = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.blink-pairs = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
mappings.enabled = false;
|
||||
highlights = {
|
||||
enabled = true;
|
||||
cmdline = true;
|
||||
groups = [
|
||||
"rainbow1"
|
||||
"rainbow2"
|
||||
"rainbow3"
|
||||
"rainbow4"
|
||||
"rainbow5"
|
||||
"rainbow6"
|
||||
];
|
||||
unmatched_group = "";
|
||||
matchparen = {
|
||||
enabled = true;
|
||||
cmdline = false;
|
||||
include_surrounding = false;
|
||||
group = "BlinkPairsMatchParen";
|
||||
priority = 250;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue