nixvim/plugins/firenvim: remove

There is an upstream module of it now with the same settings so it is
unnecessary.
This commit is contained in:
Gabriel Arazas 2024-08-15 12:50:51 +08:00
parent 23230295a4
commit dfb16a9f0b
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 0 additions and 39 deletions

View File

@ -2,7 +2,6 @@
imports = [
./keyunmaps.nix
./plugins/dressing-nvim.nix
./plugins/firenvim.nix
./plugins/lush-nvim.nix
./plugins/legendary-nvim.nix
./plugins/nvim-config-local.nix

View File

@ -1,38 +0,0 @@
{ config, lib, pkgs, helpers, ... }:
let
cfg = config.plugins.firenvim;
in
{
options.plugins.firenvim = {
enable = lib.mkEnableOption "Firenvim";
package = helpers.mkPluginPackageOption "firenvim" pkgs.vimPlugins.firenvim;
settings = lib.mkOption {
type = with lib.types; attrsOf anything;
default = { };
description = ''
Extra configuration options for Firenvim.
'';
example = {
globalSettings = { alt = "all"; };
localSettings = {
"\".*\"" = {
cmdline = "nvim";
content = "text";
priority = 0;
selector = "textarea";
takeover = "always";
};
};
};
};
};
config = lib.mkIf cfg.enable {
extraPlugins = [ cfg.package ];
globals.firenvim_config = cfg.settings;
};
}