fork/home-manager

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

Ramsesneovim: fix extraLuaPackages type. (#3533)a993eac1

master
919 B39 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.neovim = lib.mkMerge [
8      {
9        enable = true;
10        plugins = with pkgs.vimPlugins; [
11          vim-nix
12          {
13            plugin = vim-commentary;
14            runtime = {
15              "after/ftplugin/c.vim".text = ''
16                " plugin-specific config
17                setlocal commentstring=//\ %s
18                setlocal comments=://
19              '';
20            };
21          }
22        ];
23      }
24      {
25        extraPython3Packages = ps: with ps; [ jedi pynvim ];
26        extraLuaPackages = ps: with ps; [ luacheck ];
27      }
28      {
29        extraPython3Packages = with pkgs.python3Packages; [ jedi pynvim ];
30        extraLuaPackages = with pkgs.lua51Packages; [ luacheck ];
31      }
32    ];
33
34    nmt.script = ''
35      ftplugin="home-files/.config/nvim/after/ftplugin/c.vim"
36      assertFileExists "$ftplugin"
37    '';
38  };
39}