mirror of
https://github.com/akr2002/nv.git
synced 2024-11-09 10:39:44 +00:00
add lualine
This commit is contained in:
parent
f3e3971ce6
commit
2d5b2689e2
2 changed files with 36 additions and 0 deletions
|
@ -40,6 +40,8 @@
|
|||
|
||||
./snippets/luasnip.nix
|
||||
|
||||
./statusline/lualine.nix
|
||||
|
||||
./ui/nvim-notify.nix
|
||||
];
|
||||
}
|
||||
|
|
34
config/statusline/lualine.nix
Normal file
34
config/statusline/lualine.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
plugins.lualine = {
|
||||
enable = true;
|
||||
alwaysDivideMiddle = true;
|
||||
globalstatus = true;
|
||||
ignoreFocus = ["neo-tree"];
|
||||
extensions = ["fzf"];
|
||||
theme = "auto";
|
||||
componentSeparators = {
|
||||
left = "|";
|
||||
right = "|";
|
||||
};
|
||||
sectionSeparators = {
|
||||
left = "█"; #
|
||||
right = "█"; #
|
||||
};
|
||||
sections = {
|
||||
lualine_a = ["mode"];
|
||||
lualine_b = [
|
||||
{
|
||||
name = "branch";
|
||||
icon = "";
|
||||
}
|
||||
"diff"
|
||||
"diagnostics"
|
||||
];
|
||||
lualine_c = ["filename"];
|
||||
lualine_x = ["filetype"];
|
||||
lualine_y = ["progress"];
|
||||
lualine_z = [''" " .. os.date("%R")''];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue