mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-29 22:30:13 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins.lualine.enable = true;
|
||||
};
|
||||
|
@ -25,22 +26,30 @@
|
|||
winbar = 1000;
|
||||
};
|
||||
sections = {
|
||||
lualine_a = ["mode"];
|
||||
lualine_b = ["branch" "diff" "diagnostics"];
|
||||
lualine_c = ["filename"];
|
||||
lualine_x = ["encoding" "fileformat" "filetype"];
|
||||
lualine_y = ["progress"];
|
||||
lualine_z = ["location"];
|
||||
lualine_a = [ "mode" ];
|
||||
lualine_b = [
|
||||
"branch"
|
||||
"diff"
|
||||
"diagnostics"
|
||||
];
|
||||
lualine_c = [ "filename" ];
|
||||
lualine_x = [
|
||||
"encoding"
|
||||
"fileformat"
|
||||
"filetype"
|
||||
];
|
||||
lualine_y = [ "progress" ];
|
||||
lualine_z = [ "location" ];
|
||||
};
|
||||
inactiveSections = {
|
||||
lualine_c = ["filename"];
|
||||
lualine_x = ["location"];
|
||||
lualine_c = [ "filename" ];
|
||||
lualine_x = [ "location" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
extraPlugins = [pkgs.vimPlugins.gruvbox-nvim];
|
||||
extraPlugins = [ pkgs.vimPlugins.gruvbox-nvim ];
|
||||
plugins.lualine = {
|
||||
enable = true;
|
||||
theme.__raw = ''
|
||||
|
@ -50,9 +59,12 @@
|
|||
return custom_gruvbox
|
||||
end)()
|
||||
'';
|
||||
ignoreFocus = ["NvimTree" "neo-tree"];
|
||||
ignoreFocus = [
|
||||
"NvimTree"
|
||||
"neo-tree"
|
||||
];
|
||||
disabledFiletypes = {
|
||||
winbar = ["neo-tree"];
|
||||
winbar = [ "neo-tree" ];
|
||||
};
|
||||
sections = {
|
||||
lualine_c = [
|
||||
|
@ -68,8 +80,8 @@
|
|||
}
|
||||
];
|
||||
lualine_z = [
|
||||
{name = "location";}
|
||||
{name = "%L";} # total lines
|
||||
{ name = "location"; }
|
||||
{ name = "%L"; } # total lines
|
||||
];
|
||||
};
|
||||
tabline = {
|
||||
|
@ -99,7 +111,7 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
extensions = ["nvim-tree"];
|
||||
extensions = [ "nvim-tree" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue