mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
nixvimConfigs/fiesta/setups/ui: update config and enable Lualine plugin
This commit is contained in:
parent
7ee0e6321a
commit
893e8be970
@ -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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user