lualine: add tests for fixes to theme and disabledFiletypes

This commit is contained in:
André Vitor de Lima Matos 2023-04-26 09:11:42 -03:00 committed by Gaétan Lepage
parent dc82cf7fa1
commit 7ad27d19d2

View file

@ -1,4 +1,4 @@
{
{pkgs}: {
empty = {
plugins.lualine.enable = true;
};
@ -40,9 +40,20 @@
};
example = {
extraPlugins = [pkgs.vimPlugins.gruvbox-nvim];
plugins.lualine = {
enable = true;
ignoreFocus = ["NvimTree"];
theme.__raw = ''
(function()
local custom_gruvbox = require("lualine.themes.gruvbox")
custom_gruvbox.normal.c.bg = '#112233'
return custom_gruvbox
end)()
'';
ignoreFocus = ["NvimTree" "neo-tree"];
disabledFiletypes = {
winbar = ["neo-tree"];
};
sections = {
lualine_c = [
# you can specify only the sections you want to change