1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-21 01:09:47 +01:00
home-manager/tests/modules/programs/neovim/no-init.nix

23 lines
424 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;
vimAlias = true;
withNodeJs = false;
withPython3 = true;
withRuby = false;
extraPython3Packages = (ps: with ps; [ jedi pynvim ]);
};
nmt.script = ''
vimrc="home-files/.config/nvim/init.vim"
assertPathNotExists "$vimrc"
'';
};
}