fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Robert Helgessonneovim: avoid aliased package848ae0d6

master
638 B28 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.neovim = {
8      enable = true;
9      vimAlias = true;
10      withNodeJs = false;
11      withPython3 = true;
12      withRuby = false;
13
14      extraPython3Packages = (ps: with ps; [ jedi pynvim ]);
15
16      # plugins without associated config should not trigger the creation of init.vim
17      plugins = with pkgs.vimPlugins; [
18        vim-fugitive
19        ({ plugin = vim-sensible; })
20      ];
21    };
22    nmt.script = ''
23      nvimFolder="home-files/.config/nvim"
24      assertPathNotExists "$nvimFolder/init.vim"
25      assertPathNotExists "$nvimFolder/init.lua"
26    '';
27  };
28}