aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-25 22:34:40 +0200
committerSoispha <soispha@vhack.eu>2023-08-25 22:34:40 +0200
commit1293b751db6333e368f30652328aeec43b06be12 (patch)
tree60ebb9361abda3cb435040b3a7f995fcdc405159 /home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim
parentFix(hm/conf/neovim/plugins/harpoon/mappings): Simplify mappings (diff)
downloadnixos-config-1293b751db6333e368f30652328aeec43b06be12.zip
Fix(hm/conf/neovim/plugins): Move raw plugins to their config dirs
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/default.nix
index a42c6f33..37686779 100644
--- a/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/plugins/lf-nvim/default.nix
@@ -1,8 +1,18 @@
-{lib, ...}: {
+{
+ 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
+ ];
};
}