about summary refs log blame commit diff stats
path: root/hm/soispha/conf/nvim/plgs/lf-nvim/default.nix
blob: c562f400ed3b885129e1396ce1e9fe684fd8b979 (plain) (tree)
1
2
3
4
5
6
7
8



       
                     
                                           
                                                                 

                                                   



                                                                    
    
{
  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
    ];
  };
}