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

27 lines
489 B
Nix
Raw Normal View History

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