mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-19 02:04:32 +02:00
tests: Implement a way to test nixvim (#199)
The tests can be executed using `nix flake check`, they check that modules can be built, and they execute in neovim without any errors. This commit only implements tests for tokyonight-nvim upstream defaults
This commit is contained in:
parent
92867386c7
commit
abc2d19a06
4 changed files with 94 additions and 0 deletions
31
tests/plugins/tokyonight.nix
Normal file
31
tests/plugins/tokyonight.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
# All the upstream default options of tokyonight
|
||||
defaults = {
|
||||
colorschemes.tokyonight = {
|
||||
enable = true;
|
||||
|
||||
style = "storm";
|
||||
# Not implemented
|
||||
# lightStyle = "day";
|
||||
transparent = false;
|
||||
terminalColors = true;
|
||||
styles = {
|
||||
comments = {italic = true;};
|
||||
keywords = {italic = true;};
|
||||
functions = {};
|
||||
variables = {};
|
||||
sidebars = "dark";
|
||||
floats = "dark";
|
||||
};
|
||||
sidebars = ["qf" "help"];
|
||||
dayBrightness = 0.3;
|
||||
hideInactiveStatusline = false;
|
||||
dimInactive = false;
|
||||
lualineBold = false;
|
||||
# Not implemented
|
||||
# onColors = {__raw = "function(colors) end";};
|
||||
# Not implemented
|
||||
# onHighlights = {__raw = "function(colors) end";};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue