nix-community.nixvim/tests/test-sources/plugins/bufferlines/barbecue.nix
Haseeb Majid eb84003a09
plugins/barbecue: init + tests (#622)
* doing changes

* fixing stuff

* fixing stuff

* Update plugins/bufferlines/barbecue.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/bufferlines/barbecue.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/bufferlines/barbecue.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update tests/test-sources/plugins/bufferlines/barbecue.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* fix function formatting

* Update plugins/bufferlines/barbecue.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* fix semicolon in modified

---------

Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-10-06 13:57:31 +02:00

62 lines
1.4 KiB
Nix

{
empty = {
plugins.barbecue.enable = true;
};
defaults = {
plugins.barbecue = {
enable = true;
attachNavic = true;
createAutocmd = true;
includeBuftypes = [""];
excludeFiletypes = ["netrw" "toggleterm"];
modifiers = {
dirname = ":~:.";
basename = "";
};
showDirname = true;
showBasename = true;
showModified = true;
modified = "function(bufnr) return vim.bo[bufnr].modified end";
showNavic = true;
leadCustomSection = ''function() return " " end'';
customSection = ''function() return " " end'';
theme = "auto";
contextFollowIconColor = true;
symbols = {
modified = "M";
ellipsis = "///";
separator = "{";
};
kinds = {
File = "";
Module = "";
Namespace = "";
Package = "";
Class = "";
Method = "";
Property = "";
Field = "";
Constructor = "";
Enum = "";
Interface = "";
Function = "";
Variable = "";
Constant = "";
String = "";
Number = "";
Boolean = "";
Array = "";
Object = "";
Key = "";
Null = "";
EnumMember = "";
Struct = "";
Event = "";
Operator = "";
TypeParameter = "";
};
};
};
}