dev: move modules/utilty/hop -> modules/utility/motion/hop

This commit is contained in:
NotAShelf 2023-04-05 02:14:00 +03:00
parent ab4026d49e
commit b76eb174f1
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
3 changed files with 3 additions and 4 deletions

View file

@ -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"];

View file

@ -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)";
};
}