nixvimConfigs/fiesta/setups/ui: update config and enable Lualine plugin

This commit is contained in:
Gabriel Arazas 2024-02-03 21:27:40 +08:00
parent 7ee0e6321a
commit 893e8be970
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -9,8 +9,8 @@ in
lib.mkEnableOption "configuration for UI-related settings and plugins";
config = lib.mkIf cfg.enable {
# Set the colorscheme.
colorschemes.kanagawa.enable = true;
# Set the colorscheme. Take note, we'll set in the default since this NixVim configuration
colorschemes = lib.mkDefault { kanagawa.enable = true; };
# Make it so that terminal GUI colors are au natural.
options.termguicolors = true;
@ -31,11 +31,33 @@ in
# Show them hidden suckers.
options.list = true;
options.listchars = {
tab = " ";
eol = "";
tab = " *";
trail = "·";
nbsp = "%";
};
# Taste the rainbow delimiters.
plugins.rainbow-delimiters.enable = true;
plugins.rainbow-delimiters.enable = nixvimCfg.setups.treesitter.enable;
# Enable them status bars.
plugins.lualine = {
enable = true;
iconsEnabled = true;
globalstatus = true;
alwaysDivideMiddle = true;
# Disable the section separators.
sectionSeparators = {
left = "";
right = "";
};
sections = {
lualine_a = [ "mode" ];
lualine_b = [ "filename" ];
lualine_z = [ "location" ];
};
};
};
}