mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
lualine: add tests for fixes to theme and disabledFiletypes
This commit is contained in:
parent
dc82cf7fa1
commit
7ad27d19d2
1 changed files with 13 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{
|
{pkgs}: {
|
||||||
empty = {
|
empty = {
|
||||||
plugins.lualine.enable = true;
|
plugins.lualine.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -40,9 +40,20 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
example = {
|
example = {
|
||||||
|
extraPlugins = [pkgs.vimPlugins.gruvbox-nvim];
|
||||||
plugins.lualine = {
|
plugins.lualine = {
|
||||||
enable = true;
|
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 = {
|
sections = {
|
||||||
lualine_c = [
|
lualine_c = [
|
||||||
# you can specify only the sections you want to change
|
# you can specify only the sections you want to change
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue