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
This commit is contained in:
Austin Horstman 2024-08-24 14:40:10 -05:00
parent 89b876dc0d
commit 8234ee85ea
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View file

@ -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";
};

View file

@ -113,7 +113,7 @@
enable = true;
settings = {
colorscheme = "gruvbox";
colorscheme = "one";
component_function = {
gitbranch = "FugitiveHead";
readonly = "LightlineReadOnly";