From b76eb174f104f08950286b2a86bf6d1bbe679f64 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 5 Apr 2023 02:14:00 +0300 Subject: [PATCH] dev: move modules/utilty/hop -> modules/utility/motion/hop --- modules/utility/{ => motion}/hop/config.nix | 3 +-- modules/utility/{ => motion}/hop/default.nix | 0 modules/utility/{ => motion}/hop/hop.nix | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) rename modules/utility/{ => motion}/hop/config.nix (87%) rename modules/utility/{ => motion}/hop/default.nix (100%) rename modules/utility/{ => motion}/hop/hop.nix (63%) diff --git a/modules/utility/hop/config.nix b/modules/utility/motion/hop/config.nix similarity index 87% rename from modules/utility/hop/config.nix rename to modules/utility/motion/hop/config.nix index 63c9d38f..3f25a07f 100644 --- a/modules/utility/hop/config.nix +++ b/modules/utility/motion/hop/config.nix @@ -1,11 +1,10 @@ { config, lib, - pkgs, ... }: with lib; let - cfg = config.vim.utility.hop; + cfg = config.vim.utility.motion.hop; in { config = mkIf cfg.enable { vim.startPlugins = ["hop-nvim"]; diff --git a/modules/utility/hop/default.nix b/modules/utility/motion/hop/default.nix similarity index 100% rename from modules/utility/hop/default.nix rename to modules/utility/motion/hop/default.nix diff --git a/modules/utility/hop/hop.nix b/modules/utility/motion/hop/hop.nix similarity index 63% rename from modules/utility/hop/hop.nix rename to modules/utility/motion/hop/hop.nix index 85f2a1c5..d3e3c2f4 100644 --- a/modules/utility/hop/hop.nix +++ b/modules/utility/motion/hop/hop.nix @@ -5,9 +5,9 @@ ... }: with lib; let - cfg = config.vim.utility.hop; + cfg = config.vim.utility.motion.hop; in { - options.vim.utility.hop = { + options.vim.utility.motion.hop = { enable = mkEnableOption "Enable Hop.nvim plugin (easy motion)"; }; }