mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 02:34:15 -05:00
plugins/blink-pairs: init
This commit is contained in:
committed by
Gaétan Lepage
parent
08672dfdbf
commit
9fd62cece2
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user