diff options
feat: use `telepath.nvim` instead of `leap-spooky.nvim`
-rw-r--r-- | flake.lock | 19 | ||||
-rw-r--r-- | flake.nix | 7 | ||||
-rw-r--r-- | lua/config/plugins/leap.lua | 6 |
3 files changed, 28 insertions, 4 deletions
@@ -244,12 +244,29 @@ "type": "github" } }, + "plugins-telepath-nvim": { + "flake": false, + "locked": { + "lastModified": 1713157094, + "narHash": "sha256-h1NILk/EAbhb9jONHAApFs9Z2f8oZsWy15Ici6+TLxw=", + "owner": "rasulomaroff", + "repo": "telepath.nvim", + "rev": "2879da05463db7bdc8824b13cccd8e8920c62a55", + "type": "github" + }, + "original": { + "owner": "rasulomaroff", + "repo": "telepath.nvim", + "type": "github" + } + }, "root": { "inputs": { "neovim-nightly-overlay": "neovim-nightly-overlay", "nixCats": "nixCats", "nixpkgs": "nixpkgs_2", - "plugins-leap-spooky-nvim": "plugins-leap-spooky-nvim" + "plugins-leap-spooky-nvim": "plugins-leap-spooky-nvim", + "plugins-telepath-nvim": "plugins-telepath-nvim" } }, "treefmt-nix": { @@ -42,6 +42,11 @@ url = "github:ggandor/leap-spooky.nvim"; flake = false; }; + + plugins-telepath-nvim = { + url = "github:rasulomaroff/telepath.nvim"; + flake = false; + }; }; # see :help nixCats.flake.outputs @@ -128,7 +133,7 @@ # use with packadd and an autocommand in config to achieve lazy loading optionalPlugins = { gitPlugins = with pkgs.neovimPlugins; { - leap = [ leap-spooky-nvim ]; + leap = [ leap-spooky-nvim telepath-nvim ]; }; general = with pkgs.vimPlugins; { diff --git a/lua/config/plugins/leap.lua b/lua/config/plugins/leap.lua index 2a7be2d..ed23683 100644 --- a/lua/config/plugins/leap.lua +++ b/lua/config/plugins/leap.lua @@ -5,12 +5,14 @@ return { load = function(name) vim.cmd.packadd(name) vim.cmd.packadd("flit.nvim") - vim.cmd.packadd("leap-spooky-nvim") + -- vim.cmd.packadd("leap-spooky-nvim") + vim.cmd.packadd("telepath-nvim") end, after = function(_) require("leap").create_default_mappings() require("flit").setup() - require("leap-spooky").setup() + -- require("leap-spooky").setup() + require("telepath").use_default_mappings() end, }, } |