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. diff --git a/lua/harpoon/init.lua b/lua/harpoon/init.lua index 9953eea..09ad329 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