mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
allow ["|" "HighlightGroup"] for border char
This commit is contained in:
parent
5c9746aa30
commit
de19f0249a
2 changed files with 4 additions and 2 deletions
|
@ -56,7 +56,7 @@
|
||||||
in {
|
in {
|
||||||
inherit extraPluginType fromInputs pluginType;
|
inherit extraPluginType fromInputs pluginType;
|
||||||
|
|
||||||
borderType = either (enum borderPresets) (listOf str);
|
borderType = either (enum borderPresets) (listOf (either str (listOf str)));
|
||||||
|
|
||||||
pluginsOpt = {
|
pluginsOpt = {
|
||||||
description,
|
description,
|
||||||
|
|
|
@ -19,7 +19,9 @@ in {
|
||||||
|
|
||||||
If a list is given, it should have a length of eight or any divisor of
|
If a list is given, it should have a length of eight or any divisor of
|
||||||
eight. The array will specify the eight chars building up the border in
|
eight. The array will specify the eight chars building up the border in
|
||||||
a clockwise fashion starting with the top-left corner.
|
a clockwise fashion starting with the top-left corner. You can specify
|
||||||
|
a different highlight group for each character by passing a
|
||||||
|
[char, "YourHighlightGroup"] instead
|
||||||
'';
|
'';
|
||||||
example = ["╔" "═" "╗" "║" "╝" "═" "╚" "║"];
|
example = ["╔" "═" "╗" "║" "╝" "═" "╚" "║"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue