Skip to content

Commit

Permalink
tests/plugins/lightline: fix test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
khaneliman committed Aug 24, 2024
1 parent 89b876d commit 8234ee8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion plugins/statuslines/lightline.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { } ''
Expand Down Expand Up @@ -178,7 +181,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin config {
};

settingsExample = {
colorscheme = "gruvbox";
colorscheme = "one";
component_function = {
gitbranch = "FugitiveHead";
};
Expand Down
2 changes: 1 addition & 1 deletion tests/test-sources/plugins/statuslines/lightline.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
enable = true;

settings = {
colorscheme = "gruvbox";
colorscheme = "one";
component_function = {
gitbranch = "FugitiveHead";
readonly = "LightlineReadOnly";
Expand Down

0 comments on commit 8234ee8

Please sign in to comment.