We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1fe69a commit 12ded3fCopy full SHA for 12ded3f
lua/lazy/core/plugin.lua
@@ -76,6 +76,7 @@ function Spec:add(plugin, is_dep)
76
end
77
78
if plugin.dir then
79
+ plugin.dir = plugin.dir:gsub("~", os.getenv("HOME") or "~")
80
-- local plugin
81
plugin.name = plugin.name or Spec.get_name(plugin.dir)
82
elseif plugin.url then
0 commit comments