tests/neovim: add default/empty tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
bbd2e36fc9
commit
0b435f768e
3 changed files with 31 additions and 0 deletions
19
tests/modules/programs/neovim/extra-lua-empty-plugin.nix
Normal file
19
tests/modules/programs/neovim/extra-lua-empty-plugin.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [ ./stubs.nix ];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
{
|
||||
plugin = pkgs.vimPlugins.vim-nix;
|
||||
type = "lua";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
initLua="home-files/.config/nvim/init.lua"
|
||||
assertPathNotExists "$initLua"
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue