neovide: add module
Neovide is a simple, no-nonsense, cross-platform graphical user interface for Neovim See <https://neovide.dev/>. Used ruff's module as reference during creation.
This commit is contained in:
parent
4c8647b1ed
commit
7923c69152
8 changed files with 121 additions and 0 deletions
1
tests/modules/programs/neovide/default.nix
Normal file
1
tests/modules/programs/neovide/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ neovide-program = ./neovide.nix; }
|
||||
15
tests/modules/programs/neovide/expected.toml
Normal file
15
tests/modules/programs/neovide/expected.toml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
fork = false
|
||||
frame = "full"
|
||||
idle = true
|
||||
maximized = false
|
||||
neovim-bin = "/usr/bin/nvim"
|
||||
no-multigrid = false
|
||||
srgb = false
|
||||
tabs = true
|
||||
theme = "auto"
|
||||
title-hidden = true
|
||||
vsync = true
|
||||
wsl = false
|
||||
[font]
|
||||
normal = []
|
||||
size = 14.0
|
||||
34
tests/modules/programs/neovide/neovide.nix
Normal file
34
tests/modules/programs/neovide/neovide.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.neovide = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
fork = false;
|
||||
frame = "full";
|
||||
idle = true;
|
||||
maximized = false;
|
||||
neovim-bin = "/usr/bin/nvim";
|
||||
no-multigrid = false;
|
||||
srgb = false;
|
||||
tabs = true;
|
||||
theme = "auto";
|
||||
title-hidden = true;
|
||||
vsync = true;
|
||||
wsl = false;
|
||||
|
||||
font = {
|
||||
normal = [ ];
|
||||
size = 14.0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
test.stubs.neovide = { };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/neovide/config.toml
|
||||
assertFileContent home-files/.config/neovide/config.toml ${./expected.toml}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue