From 538799218115ef64d0ea2b99767e096b8a547e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 14 Apr 2023 14:17:54 +0100 Subject: [PATCH] add firenvim --- config/programs/vim/modules/misc/firenvim.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 config/programs/vim/modules/misc/firenvim.nix 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 ""; +}