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

24 lines
472 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 = "";
};
};
output.plugins = with pkgs.vimPlugins; [lightline-vim];
}