Closed m42e closed 9 years ago
Can you give me an example ?
It should always be something like %path%to%dir%name.vim
so not too sure about the extra %
you mention or where it appears, it could be because of an additional /
at the end of the path name I suppose.
Did you do this by using :Prosession
with a new directory (for which a session doesn't exist already) !?
Oh, I missed the .vim at the end in my first post.
If I'm starting vim within a folder it creates the file without the extra %
or /
at the end. If I switch using Prosession it is added.
I'm currently using it on a Win64 with cygwin on it.
It should be consistent now, kindly confirm.
Thanks.
Seems not to work:
Error detected while processing function <SNR>64_GetSessionFile..<SNR>64_GetSessionFileName..<SNR>64_GetDirName..<SNR>64_StripTrailingSlash:
line 1:
E121: Undefined variable: name
See #12
Ah typo :/, I should add tests.
It seems that sometimes the Plugin writes the session to a path similar to:
%proj%someproj
but sometimes%proj%someproj%
will be used.