Skip to content

Commit

Permalink
Release Version 0.7.5
Browse files Browse the repository at this point in the history
* Fix issue with paths ending in `vim` correctly
  • Loading branch information
dhruvasagar committed Mar 7, 2024
1 parent a79ac26 commit 1cb2ead
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.7.5

- Fix issue with paths ending in `vim` correctly

## 0.7.3

- Add telescope picker for integration with telescope
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# VIM ProSession v0.7.4 [![Build](https://github.com/dhruvasagar/vim-prosession/actions/workflows/ci.yml/badge.svg)](https://github.com/dhruvasagar/vim-prosession/actions/workflows/ci.yml)
# VIM ProSession v0.7.5 [![Build](https://github.com/dhruvasagar/vim-prosession/actions/workflows/ci.yml/badge.svg)](https://github.com/dhruvasagar/vim-prosession/actions/workflows/ci.yml)

A VIM plugin to handle sessions like a pro.

Expand Down
2 changes: 1 addition & 1 deletion doc/prosession.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
------------------------------------------------------------------------------
VIM ProSession

Handle sessions like a PRO. Version 0.7.4
Handle sessions like a PRO. Version 0.7.5

Repo: https://github.com/dhruvasagar/vim-prosession
Author: Dhruva Sagar <http://dhruvasagar.com/>
Expand Down
2 changes: 1 addition & 1 deletion plugin/prosession.vim
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function! s:GetDirName(...) "{{{1
endfunction

function! s:GetSessionFileName(...) "{{{1
let fname = a:0 && a:1 =~# '\.vim$' ? a:1 : call('s:GetDirName', a:000)
let fname = a:0 && a:1 =~# '\.vim$' && !isdirectory(a:1) ? a:1 : call('s:GetDirName', a:000)
let fname = s:StripTrailingSlash(fname)
return fname =~# '\.vim$' ? fnamemodify(fname, ':t:r') : fnamemodify(fname, ':t')
endfunction
Expand Down

0 comments on commit 1cb2ead

Please sign in to comment.