Closed horaoen closed 5 months ago
It's because the plenary function mkdir
doesn't expand wildcards inside the specified path. If you want the second path to work you need to wrap it in vim.fn.expand(path)
.
It's because the plenary function
mkdir
doesn't expand wildcards inside the specified path. If you want the second path to work you need to wrap it invim.fn.expand(path)
.
Thanks, I got it. But would it be better to have vim.fn.expand built into the plugin?
It is on the dev
branch. I overhauled how leetcode.nvim
stores data and made paths automatically expand by vim.fn.expand
. But to test these changes, Ineed some time which i hadn't had recently.
Only the first line of code works, logically they are the same