add firenvim
This commit is contained in:
parent
2118a97e45
commit
5387992181
1 changed files with 16 additions and 0 deletions
16
config/programs/vim/modules/misc/firenvim.nix
Normal file
16
config/programs/vim/modules/misc/firenvim.nix
Normal file
|
@ -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 "";
|
||||
}
|
Loading…
Reference in a new issue