tests/plugins: refactor (#235)

This commit is contained in:
Gaétan Lepage 2023-03-22 07:42:02 +01:00 committed by GitHub
parent 89f54be73a
commit db5061b4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 485 additions and 744 deletions

View file

@ -0,0 +1,78 @@
{
empty = {
plugins.barbar.enable = true;
};
keymappings = {
plugins.barbar = {
enable = true;
keymaps = {
silent = true;
next = "<TAB>";
previous = "<S-TAB>";
close = "<C-w>";
};
};
};
# All the upstream default options of barbar
defaults = {
plugins.barbar = {
animations = true;
autoHide = false;
tabpages = true;
closable = true;
clickable = true;
diagnostics = {
error = {
enable = false;
icon = " ";
};
warn = {
enable = false;
icon = " ";
};
info = {
enable = false;
icon = " ";
};
hint = {
enable = false;
icon = "💡";
};
};
excludeFileTypes = [];
excludeFileNames = [];
hide = {
extensions = false;
inactive = false;
alternate = false;
current = false;
visible = false;
};
highlightAlternate = false;
highlightInactiveFileIcons = false;
highlightVisible = true;
icons = {
enable = true;
customColors = false;
separatorActive = "";
separatorInactive = "";
separatorVisible = "";
closeTab = "";
closeTabModified = "";
pinned = "";
};
insertAtEnd = false;
insertAtStart = false;
maximumPadding = 4;
minimumPadding = 1;
maximumLength = 30;
semanticLetters = true;
letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP";
noNameTitle = null;
};
};
}