From 7ca4d07089ebc2d58ba10d738044d22544bfb015 Mon Sep 17 00:00:00 2001 From: Jesse Leite Date: Wed, 24 Mar 2021 11:15:49 -0400 Subject: [PATCH 1/2] Prime does not suck, that much. --- lua/harpoon/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/harpoon/init.lua b/lua/harpoon/init.lua index ff38401..8d1e261 100644 --- a/lua/harpoon/init.lua +++ b/lua/harpoon/init.lua @@ -93,7 +93,9 @@ local function expand_dir(config) for k in pairs(projects) do local expanded_path = Path.new(k):expand() projects[expanded_path] = projects[k] - projects[k] = nil + if expanded_path ~= k then + projects[k] = nil + end end return config From 7ca5c1dbfd1489b28a29a1f6498ab72503dd46af Mon Sep 17 00:00:00 2001 From: ThePrimeagen Date: Wed, 24 Mar 2021 09:30:10 -0600 Subject: [PATCH 2/2] credit due --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1e29abe..bdee86f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ This is still beta. We are getting there, but its not as fast as I would like. Therefore APIs are subject to change. ![Harpoon](harpoon.png) +-- Image provided by Liberty_DevCap # harpoon The goal of Harpoon is to get you where you want with the fewest keystrokes.