mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 04:35:08 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -47,20 +47,53 @@
|
|||
v = "V";
|
||||
V = "V";
|
||||
};
|
||||
exclude_filenames = [];
|
||||
exclude_filetypes = [];
|
||||
exclude_filenames = [ ];
|
||||
exclude_filetypes = [ ];
|
||||
filetype_overrides = {
|
||||
coc-explorer = ["CoC Explorer" ""];
|
||||
defx = ["defx" "%{b:defx.paths[0]}"];
|
||||
fugitive = ["fugitive" "%{airline#util#wrap(airline#extensions#branch#get_head(),80)}"];
|
||||
gundo = ["Gundo" ""];
|
||||
help = ["Help" "%f"];
|
||||
minibufexpl = ["MiniBufExplorer" ""];
|
||||
startify = ["startify" ""];
|
||||
vim-plug = ["Plugins" ""];
|
||||
vimfiler = ["vimfiler" "%{vimfiler#get_status_string()}"];
|
||||
vimshell = ["vimshell" "%{vimshell#get_status_string()}"];
|
||||
vaffle = ["Vaffle" "%{b:vaffle.dir}"];
|
||||
coc-explorer = [
|
||||
"CoC Explorer"
|
||||
""
|
||||
];
|
||||
defx = [
|
||||
"defx"
|
||||
"%{b:defx.paths[0]}"
|
||||
];
|
||||
fugitive = [
|
||||
"fugitive"
|
||||
"%{airline#util#wrap(airline#extensions#branch#get_head(),80)}"
|
||||
];
|
||||
gundo = [
|
||||
"Gundo"
|
||||
""
|
||||
];
|
||||
help = [
|
||||
"Help"
|
||||
"%f"
|
||||
];
|
||||
minibufexpl = [
|
||||
"MiniBufExplorer"
|
||||
""
|
||||
];
|
||||
startify = [
|
||||
"startify"
|
||||
""
|
||||
];
|
||||
vim-plug = [
|
||||
"Plugins"
|
||||
""
|
||||
];
|
||||
vimfiler = [
|
||||
"vimfiler"
|
||||
"%{vimfiler#get_status_string()}"
|
||||
];
|
||||
vimshell = [
|
||||
"vimshell"
|
||||
"%{vimshell#get_status_string()}"
|
||||
];
|
||||
vaffle = [
|
||||
"Vaffle"
|
||||
"%{b:vaffle.dir}"
|
||||
];
|
||||
};
|
||||
exclude_preview = false;
|
||||
disable_statusline = false;
|
||||
|
|
|
@ -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