about summary refs log tree commit diff stats
path: root/modules/by-name/nv/nvim/plgs/nvim-lint/default.nix
blob: ee057a9b67d9e6e6c7f8ec573d6e3b1c87b88fba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  pkgs,
  config,
  lib,
  ...
}: let
  cfg = config.soispha.programs.nvim;
in {
  home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable {
    # TODO: package nvim-lint though a module
    extraConfigLuaPost = ''
      ${lib.strings.fileContents ./lua/nvim-lint.lua}
    '';
    extraPlugins = [
      pkgs.vimPlugins.nvim-lint
    ];
  };
}