From 8234ee85eaa2c8b7f2c74f5b4cdf02c4965b07fc Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 24 Aug 2024 14:40:10 -0500 Subject: [PATCH] tests/plugins/lightline: fix test Lightline has an internal list of colorschemes that are supported which can be found at https://github.com/itchyny/lightline.vim/blob/master/colorscheme.md --- plugins/statuslines/lightline.nix | 5 ++++- tests/test-sources/plugins/statuslines/lightline.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/statuslines/lightline.nix b/plugins/statuslines/lightline.nix index dab6408dd6..588b205c4e 100644 --- a/plugins/statuslines/lightline.nix +++ b/plugins/statuslines/lightline.nix @@ -54,6 +54,9 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin config { colorscheme = defaultNullOpts.mkStr "default" '' The colorscheme to use for lightline. Default theme is equal to `powerline`. + + List of supported colorschemes can be found at + https://github.com/itchyny/lightline.vim/blob/master/colorscheme.md. ''; component_function = defaultNullOpts.mkAttrsOf types.str { } '' @@ -178,7 +181,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin config { }; settingsExample = { - colorscheme = "gruvbox"; + colorscheme = "one"; component_function = { gitbranch = "FugitiveHead"; }; diff --git a/tests/test-sources/plugins/statuslines/lightline.nix b/tests/test-sources/plugins/statuslines/lightline.nix index ddab0bf12c..6127fd447b 100644 --- a/tests/test-sources/plugins/statuslines/lightline.nix +++ b/tests/test-sources/plugins/statuslines/lightline.nix @@ -113,7 +113,7 @@ enable = true; settings = { - colorscheme = "gruvbox"; + colorscheme = "one"; component_function = { gitbranch = "FugitiveHead"; readonly = "LightlineReadOnly";