diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | autoload/perl/version/bump.vim | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1 +1 @@ -1.1.0 +1.1.1 diff --git a/autoload/perl/version/bump.vim b/autoload/perl/version/bump.vim index d452a16..b671f0e 100644 --- a/autoload/perl/version/bump.vim +++ b/autoload/perl/version/bump.vim @@ -30,12 +30,12 @@ function! s:Bump(major) abort else let minor = s:Format(minor, minor + 1) endif - let version = major.'.'.minor + let ver = major.'.'.minor call setline(li, lvalue.version.rest) if a:major - echomsg 'Bumped major $VERSION: '.version + echomsg 'Bumped major $VERSION: '.ver else - echomsg 'Bumped minor $VERSION: '.version + echomsg 'Bumped minor $VERSION: '.ver endif call winrestview(view) endfunction |