mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-18 09:44:37 +02:00
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>
This commit is contained in:
parent
a0c35acab5
commit
eb84003a09
3 changed files with 264 additions and 0 deletions
62
tests/test-sources/plugins/bufferlines/barbecue.nix
Normal file
62
tests/test-sources/plugins/bufferlines/barbecue.nix
Normal file
|
@ -0,0 +1,62 @@
|
|||
{
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue