diff --git a/config/programs/vim/modules/misc/firenvim.nix b/config/programs/vim/modules/misc/firenvim.nix new file mode 100644 index 00000000..d60bc881 --- /dev/null +++ b/config/programs/vim/modules/misc/firenvim.nix @@ -0,0 +1,16 @@ +{ + pkgs, + config, + ... +}: { + output.plugins = + if config.isDesktop + then with pkgs.vimPlugins; [firenvim] + else []; + output.extraConfig = + if config.isDesktop + then '' + silent call firenvim#install(0) + '' + else ""; +}