mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
222 lines
5.4 KiB
Nix
222 lines
5.4 KiB
Nix
{
|
||
empty = {
|
||
plugins.barbar.enable = true;
|
||
};
|
||
|
||
keymappings = {
|
||
plugins.barbar = {
|
||
enable = true;
|
||
|
||
keymaps = {
|
||
next.key = "<TAB>";
|
||
previous.key = "<S-TAB>";
|
||
close = {
|
||
key = "<C-w>";
|
||
options.desc = "Barbar close tab";
|
||
};
|
||
restore.key = "<C-S-t>";
|
||
};
|
||
};
|
||
};
|
||
|
||
defaults = {
|
||
plugins.barbar = {
|
||
enable = true;
|
||
|
||
settings = {
|
||
animation = true;
|
||
auto_hide = -1;
|
||
clickable = true;
|
||
exclude_ft = [ ];
|
||
exclude_name = [ ];
|
||
focus_on_close = "left";
|
||
hide = {
|
||
alternate = false;
|
||
current = false;
|
||
extensions = false;
|
||
inactive = false;
|
||
visible = false;
|
||
};
|
||
highlight_alternate = false;
|
||
highlight_inactive_file_icons = false;
|
||
highlight_visible = true;
|
||
icons = {
|
||
buffer_index = false;
|
||
buffer_number = false;
|
||
button = "";
|
||
diagnostics = {
|
||
"vim.diagnostic.severity.ERROR" = {
|
||
enabled = false;
|
||
icon = " ";
|
||
};
|
||
"vim.diagnostic.severity.HINT" = {
|
||
enabled = false;
|
||
icon = " ";
|
||
};
|
||
"vim.diagnostic.severity.INFO" = {
|
||
enabled = false;
|
||
icon = " ";
|
||
};
|
||
"vim.diagnostic.severity.WARN" = {
|
||
enabled = false;
|
||
icon = " ";
|
||
};
|
||
};
|
||
gitsigns = {
|
||
added = {
|
||
enabled = true;
|
||
icon = "+";
|
||
};
|
||
changed = {
|
||
enabled = true;
|
||
icon = "~";
|
||
};
|
||
deleted = {
|
||
enabled = true;
|
||
icon = "-";
|
||
};
|
||
};
|
||
filename = true;
|
||
filetype = {
|
||
custom_colors = false;
|
||
enabled = true;
|
||
};
|
||
separator = {
|
||
left = "▎";
|
||
right = "";
|
||
separator_at_end = true;
|
||
};
|
||
pinned = {
|
||
button = false;
|
||
filename = false;
|
||
separator.right = " ";
|
||
};
|
||
alternate = { };
|
||
current = { };
|
||
inactive = { };
|
||
visible = { };
|
||
preset = "default";
|
||
};
|
||
insert_at_start = false;
|
||
insert_at_end = false;
|
||
letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP";
|
||
maximum_padding = 4;
|
||
maximum_length = 30;
|
||
minimum_length = 0;
|
||
minimum_padding = 1;
|
||
no_name_title = null;
|
||
semantic_letters = true;
|
||
sidebar_filetypes = { };
|
||
tabpages = true;
|
||
};
|
||
};
|
||
};
|
||
|
||
readme-example = {
|
||
plugins.barbar = {
|
||
enable = true;
|
||
|
||
settings = {
|
||
animation = true;
|
||
auto_hide = false;
|
||
tabpages = true;
|
||
clickable = true;
|
||
exclude_ft = [ "javascript" ];
|
||
exclude_name = [ "package.json" ];
|
||
focus_on_close = "left";
|
||
hide = {
|
||
extensions = true;
|
||
inactive = true;
|
||
};
|
||
highlight_alternate = false;
|
||
highlight_inactive_file_icons = false;
|
||
highlight_visible = true;
|
||
icons = {
|
||
buffer_index = false;
|
||
buffer_number = false;
|
||
button = "";
|
||
diagnostics = {
|
||
"vim.diagnostic.severity.ERROR" = {
|
||
enabled = true;
|
||
icon = "ff";
|
||
};
|
||
"vim.diagnostic.severity.WARN".enabled = false;
|
||
"vim.diagnostic.severity.INFO".enabled = false;
|
||
"vim.diagnostic.severity.HINT".enabled = true;
|
||
};
|
||
gitsigns = {
|
||
added = {
|
||
enabled = true;
|
||
icon = "+";
|
||
};
|
||
changed = {
|
||
enabled = true;
|
||
icon = "~";
|
||
};
|
||
deleted = {
|
||
enabled = true;
|
||
icon = "-";
|
||
};
|
||
};
|
||
filetype = {
|
||
custom_colors = false;
|
||
enabled = true;
|
||
};
|
||
separator = {
|
||
left = "▎";
|
||
right = "";
|
||
};
|
||
separator_at_end = true;
|
||
modified = {
|
||
button = "●";
|
||
};
|
||
pinned = {
|
||
button = "";
|
||
filename = true;
|
||
};
|
||
preset = "default";
|
||
alternate = {
|
||
filetype = {
|
||
enabled = false;
|
||
};
|
||
};
|
||
current = {
|
||
buffer_index = true;
|
||
};
|
||
inactive = {
|
||
button = "×";
|
||
};
|
||
visible = {
|
||
modified = {
|
||
buffer_number = false;
|
||
};
|
||
};
|
||
};
|
||
insert_at_end = false;
|
||
insert_at_start = false;
|
||
maximum_padding = 1;
|
||
minimum_padding = 1;
|
||
maximum_length = 30;
|
||
minimum_length = 0;
|
||
semantic_letters = true;
|
||
sidebar_filetypes = {
|
||
NvimTree = true;
|
||
undotree = {
|
||
text = "undotree";
|
||
align = "center";
|
||
};
|
||
neo-tree = {
|
||
event = "BufWipeout";
|
||
};
|
||
Outline = {
|
||
event = "BufWinLeave";
|
||
text = "symbols-outline";
|
||
align = "right";
|
||
};
|
||
};
|
||
letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP";
|
||
no_name_title = null;
|
||
};
|
||
};
|
||
};
|
||
}
|