about summary refs log blame commit diff stats
path: root/modules/home/conf/nvim/plgs/lf-nvim/default.nix
blob: 11ad2807a3224ef3a2d206de29d5e5dc2e06d61d (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.vimPlugins.toggleterm-nvim # required by lf-nvim
    ];
  };
}