nixos-config/config/programs/vim/modules/visual/lightline.nix

28 lines
513 B
Nix
Raw Normal View History

2022-08-10 08:20:23 +00:00
{pkgs, ...}: {
vim.opt.showmode = false;
vim.g.lightline = {
active = {
2022-08-10 08:20:23 +00:00
left = [["mode" "paste"] ["readonly" "filename" "modified"]];
right = [
2022-08-10 08:20:23 +00:00
["lineinfo"]
["percent"]
["fileformat" "fileencoding" "filetype"]
];
};
2022-08-09 19:19:00 +00:00
separator = {
left = "";
right = "";
};
subseparator = {
left = "";
right = "";
};
2022-08-14 10:16:13 +00:00
enable = {
2022-08-14 10:34:54 +00:00
tabline = 0;
2022-08-14 10:16:13 +00:00
};
};
2022-08-10 08:20:23 +00:00
output.plugins = with pkgs.vimPlugins; [lightline-vim];
}