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

26 lines
489 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 ];
}