Files
home-manager/tests/modules/programs/neovim/no-init.nix
Austin Horstman fa6de26b4d treewide: nixf-diagnose cleanup
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-01-08 16:30:04 -05:00

32 lines
622 B
Nix

{ pkgs, ... }:
{
imports = [ ./stubs.nix ];
programs.neovim = {
enable = true;
vimAlias = true;
withNodeJs = false;
withPython3 = true;
withRuby = false;
extraPython3Packages = (
ps: with ps; [
jedi
pynvim
]
);
# plugins without associated config should not trigger the creation of init.vim
plugins = with pkgs.vimPlugins; [
vim-fugitive
{ plugin = vim-sensible; }
];
};
nmt.script = ''
nvimFolder="home-files/.config/nvim"
assertPathNotExists "$nvimFolder/init.vim"
assertPathNotExists "$nvimFolder/init.lua"
'';
}