mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-09 03:56:05 +01:00
plugins/colorful-winsep: account for upstream changes
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
01636ad1cd
commit
f68f9d145a
2 changed files with 31 additions and 68 deletions
|
|
@ -7,19 +7,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
maintainers = [ lib.maintainers.saygo-png ];
|
maintainers = [ lib.maintainers.saygo-png ];
|
||||||
|
|
||||||
settingsExample = {
|
settingsExample = {
|
||||||
hi = {
|
highlight = "#b8bb26";
|
||||||
bg = "#7d8618";
|
excluded_ft = [ "NvimTree" ];
|
||||||
fg = "#b8bb26";
|
border = [
|
||||||
};
|
|
||||||
only_line_seq = true;
|
|
||||||
no_exec_files = [
|
|
||||||
"packer"
|
|
||||||
"TelescopePrompt"
|
|
||||||
"mason"
|
|
||||||
"CompetiTest"
|
|
||||||
"NvimTree"
|
|
||||||
];
|
|
||||||
symbols = [
|
|
||||||
"━"
|
"━"
|
||||||
"┃"
|
"┃"
|
||||||
"┏"
|
"┏"
|
||||||
|
|
|
||||||
|
|
@ -7,55 +7,38 @@
|
||||||
plugins.colorful-winsep = {
|
plugins.colorful-winsep = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
symbols = [
|
border = "bold";
|
||||||
"━"
|
excluded_ft = [
|
||||||
"┃"
|
|
||||||
"┏"
|
|
||||||
"┓"
|
|
||||||
"┗"
|
|
||||||
"┛"
|
|
||||||
];
|
|
||||||
no_exec_files = [
|
|
||||||
"packer"
|
"packer"
|
||||||
"TelescopePrompt"
|
"TelescopePrompt"
|
||||||
"mason"
|
"mason"
|
||||||
"CompetiTest"
|
|
||||||
];
|
];
|
||||||
hi = {
|
highlight.__raw = "nil";
|
||||||
fg = "#957CC6";
|
animate = {
|
||||||
bg.__raw = ''vim.api.nvim_get_hl_by_name("Normal", true)["background"]'';
|
enabled = "shift";
|
||||||
};
|
shift = {
|
||||||
events = [
|
delta_time = 0.1;
|
||||||
"WinEnter"
|
smooth_speed = 1;
|
||||||
"WinResized"
|
delay = 3;
|
||||||
"SessionLoadPost"
|
|
||||||
];
|
|
||||||
smooth = true;
|
|
||||||
exponential_smoothing = true;
|
|
||||||
only_line_seq = true;
|
|
||||||
anchor = {
|
|
||||||
left = {
|
|
||||||
height = 1;
|
|
||||||
x = -1;
|
|
||||||
y = -1;
|
|
||||||
};
|
};
|
||||||
right = {
|
progressive = {
|
||||||
height = 1;
|
vertical_delay = 20;
|
||||||
x = -1;
|
horizontal_delay = 2;
|
||||||
y = 0;
|
};
|
||||||
};
|
};
|
||||||
up = {
|
indicator_for_2wins = {
|
||||||
width = 0;
|
position = "center";
|
||||||
x = -1;
|
symbols = {
|
||||||
y = 0;
|
start_left = "";
|
||||||
};
|
end_left = "";
|
||||||
bottom = {
|
start_down = "";
|
||||||
width = 0;
|
end_down = "";
|
||||||
x = 1;
|
start_up = "";
|
||||||
y = 0;
|
end_up = "";
|
||||||
|
start_right = "";
|
||||||
|
end_right = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
light_pollution.__raw = "function(lines) end";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -64,19 +47,9 @@
|
||||||
plugins.colorful-winsep = {
|
plugins.colorful-winsep = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
hi = {
|
highlight = "#b8bb26";
|
||||||
bg = "#7d8618";
|
excluded_ft = [ "NvimTree" ];
|
||||||
fg = "#b8bb26";
|
border = [
|
||||||
};
|
|
||||||
only_line_seq = true;
|
|
||||||
no_exec_files = [
|
|
||||||
"packer"
|
|
||||||
"TelescopePrompt"
|
|
||||||
"mason"
|
|
||||||
"CompetiTest"
|
|
||||||
"NvimTree"
|
|
||||||
];
|
|
||||||
symbols = [
|
|
||||||
"━"
|
"━"
|
||||||
"┃"
|
"┃"
|
||||||
"┏"
|
"┏"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue