about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/nvim/plgs/lf-nvim/default.nix
blob: 11ad2807a3224ef3a2d206de29d5e5dc2e06d61d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  pkgs,
  lib,
  ...
}: {
  programs.nixvim = {
    # TODO: package lf-nvim though a module
    # FIXME: change the nvim path, when I change the path with lf
    extraConfigLuaPost = ''
      ${lib.strings.fileContents ./lua/lf-nvim.lua}
    '';
    extraPlugins = [
      pkgs.vimExtraPlugins.lf-nvim

      pkgs.vimPlugins.toggleterm-nvim # required by lf-nvim
    ];
  };
}