about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/default.nix
blob: c562f400ed3b885129e1396ce1e9fe684fd8b979 (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.vimExtraPlugins.nvim-toggleterm-lua # required by lf-nvim
    ];
  };
}