nixos-config/config/programs/vim/modules/visual/lightline.nix
2022-08-14 11:34:54 +01:00

27 lines
513 B
Nix

{pkgs, ...}: {
vim.opt.showmode = false;
vim.g.lightline = {
active = {
left = [["mode" "paste"] ["readonly" "filename" "modified"]];
right = [
["lineinfo"]
["percent"]
["fileformat" "fileencoding" "filetype"]
];
};
separator = {
left = "";
right = "";
};
subseparator = {
left = "";
right = "";
};
enable = {
tabline = 0;
};
};
output.plugins = with pkgs.vimPlugins; [lightline-vim];
}