dashboard-nvim icon indicating copy to clipboard operation
dashboard-nvim copied to clipboard

Projects on Windows not working

Open P1P0S opened this issue 1 year ago • 3 comments

Basically the 'recent projects' feature is not working on Windows, (I'm not an experienced programmer) so from what I've looked into it, there seems to be some issue with how the cache file is being opened for writing, in the 'utils.lua' file.

image

I solved my problem by doing a simple 'if' statement to check if the 'os' is Windows. Then, it opens the cache file for writing using 'io.open'.

image

Well, now it's writing the project directories to the cache file.

image

P1P0S avatar Apr 20 '23 22:04 P1P0S

first there has system check in util and write cache is in luv callback is async . no reason use a block io.open. I don't use windows. someone can fix this pr welcome.

glepnir avatar Apr 21 '23 06:04 glepnir

Yes, I have this issue as well on windows 11. @P1P0S if you solved, can you create PR ?

jacknicklenson avatar Jul 17 '23 18:07 jacknicklenson

I'm running into this as well. :(

tidaeu avatar Sep 21 '23 20:09 tidaeu