dhruvasagar / vim-prosession

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

Fix unneeded session file name truncation #16

Closed andviro closed 9 years ago

andviro commented 9 years ago

Hi! First of all, thanks for very useful plugin. I've noticed that when project directory name contains dots, like 'bitbucket.org' etc., session file name gets truncated, due to fnamemodify('%:t:r'). I've fixed this by separating logic for directory name and session file name in s:GetSessionFileName().

Best regards, Andrew.

dhruvasagar commented 9 years ago

Hey, thanks for contributing, i've add a fix which seems better for this very use case, kindly try it out and let me know.

andviro commented 9 years ago

Yeah, your fix works very well. Thanks for quick response!

dhruvasagar commented 9 years ago

@andviro Thanks!