mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-14 06:38:44 +02:00
plugins/colorful-winsep: init
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
d6b9cce8bd
commit
14849765d4
2 changed files with 121 additions and 0 deletions
31
plugins/by-name/colorful-winsep/default.nix
Normal file
31
plugins/by-name/colorful-winsep/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "colorful-winsep";
|
||||
packPathName = "colorful-winsep.nvim";
|
||||
package = "colorful-winsep-nvim";
|
||||
|
||||
maintainers = [ lib.maintainers.saygo-png ];
|
||||
|
||||
settingsExample = {
|
||||
hi = {
|
||||
bg = "#7d8618";
|
||||
fg = "#b8bb26";
|
||||
};
|
||||
only_line_seq = true;
|
||||
no_exec_files = [
|
||||
"packer"
|
||||
"TelescopePrompt"
|
||||
"mason"
|
||||
"CompetiTest"
|
||||
"NvimTree"
|
||||
];
|
||||
symbols = [
|
||||
"━"
|
||||
"┃"
|
||||
"┏"
|
||||
"┓"
|
||||
"┗"
|
||||
"┛"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.colorful-winsep.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.colorful-winsep = {
|
||||
enable = true;
|
||||
settings = {
|
||||
symbols = [
|
||||
"━"
|
||||
"┃"
|
||||
"┏"
|
||||
"┓"
|
||||
"┗"
|
||||
"┛"
|
||||
];
|
||||
no_exec_files = [
|
||||
"packer"
|
||||
"TelescopePrompt"
|
||||
"mason"
|
||||
"CompetiTest"
|
||||
];
|
||||
hi = {
|
||||
fg = "#957CC6";
|
||||
bg.__raw = ''vim.api.nvim_get_hl_by_name("Normal", true)["background"]'';
|
||||
};
|
||||
events = [
|
||||
"WinEnter"
|
||||
"WinResized"
|
||||
"SessionLoadPost"
|
||||
];
|
||||
smooth = true;
|
||||
exponential_smoothing = true;
|
||||
only_line_seq = true;
|
||||
anchor = {
|
||||
left = {
|
||||
height = 1;
|
||||
x = -1;
|
||||
y = -1;
|
||||
};
|
||||
right = {
|
||||
height = 1;
|
||||
x = -1;
|
||||
y = 0;
|
||||
};
|
||||
up = {
|
||||
width = 0;
|
||||
x = -1;
|
||||
y = 0;
|
||||
};
|
||||
bottom = {
|
||||
width = 0;
|
||||
x = 1;
|
||||
y = 0;
|
||||
};
|
||||
};
|
||||
light_pollution.__raw = "function(lines) end";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.colorful-winsep = {
|
||||
enable = true;
|
||||
settings = {
|
||||
hi = {
|
||||
bg = "#7d8618";
|
||||
fg = "#b8bb26";
|
||||
};
|
||||
only_line_seq = true;
|
||||
no_exec_files = [
|
||||
"packer"
|
||||
"TelescopePrompt"
|
||||
"mason"
|
||||
"CompetiTest"
|
||||
"NvimTree"
|
||||
];
|
||||
symbols = [
|
||||
"━"
|
||||
"┃"
|
||||
"┏"
|
||||
"┓"
|
||||
"┗"
|
||||
"┛"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue