2.home-manager/tests/modules/programs/neovim/extra-lua-init.nix
teto 356a88a574 neovim: rename extraLuaConfig to initLua
Now that the whole lua config is exposed via the extraLuaConfig option,
it's not "extra" anymore but the whole content. Renaming it to "initLua"
is more adequate and it makes the option more understandable I hope.
2026-01-23 17:41:46 +01:00

18 lines
300 B
Nix

{
imports = [ ./stubs.nix ];
programs.neovim = {
enable = true;
initLua = ''
-- initLua
'';
};
nmt.script = ''
nvimFolder="home-files/.config/nvim"
assertFileContent "$nvimFolder/init.lua" ${builtins.toFile "init.lua-expected" ''
-- initLua
''}
'';
}