dhruvasagar / vim-prosession

Handle vim sessions like a pro
254 stars 22 forks source link

Unable to create session on Windows for subdirectory of ignored directory #75

Closed dhruvasagar closed 2 years ago

dhruvasagar commented 4 years ago

When trying to open gvim.exe from subdirectories of the ignored directories, for example, g:\TEMP\TempSub\, the following error occurs. This is only happening for GVIM on Windows. [Please take this as neutral documentation.]

image

Originally posted by @llinfeng in https://github.com/dhruvasagar/vim-prosession/issues/73#issuecomment-706882783

llinfeng commented 4 years ago

I can confirm that opening gvim.exe from other directories does create *.vim session files by default. The error only occurs when I try to launch gvim.exe with vim-prosession loaded by default from subdirectories of ignored dir. This is happeningboth in powershell and Command Prompt, launched with or without admin privileges.

dhruvasagar commented 2 years ago

I am going to close this for now since I am unable to reproduce this, if anyone else faces this again, we can reopen it.