plugins/blink-pairs: init

This commit is contained in:
Gaetan Lepage 2026-02-01 15:22:23 +01:00 committed by Gaétan Lepage
parent 08672dfdbf
commit 9fd62cece2
2 changed files with 98 additions and 0 deletions

View 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;
};
};
};
}

View 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;
};
};
};
};
};
}