mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
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:
parent
23230295a4
commit
dfb16a9f0b
@ -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
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user