aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-12 13:22:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-12 13:22:48 +1200
commitdad3282770c101b6c0aee1af0e4f8cf0f8cb4c02 (patch)
tree71d9e1919368c208a5134c4214c4b1681cf869a2
parentMerge branch 'hotfix/v0.1.1' (diff)
parentVersion 1.0.0 (diff)
downloadvim-perl-version-bump-dad3282770c101b6c0aee1af0e4f8cf0f8cb4c02.tar.gz
vim-perl-version-bump-dad3282770c101b6c0aee1af0e4f8cf0f8cb4c02.zip
Merge branch 'release/v1.0.0'v1.0.0
* release/v1.0.0: Version 1.0.0 Parenthesize mapping names
-rw-r--r--README.md4
-rw-r--r--VERSION2
-rw-r--r--after/ftplugin/perl/version_bump.vim8
-rw-r--r--doc/perl_version_bump.txt12
4 files changed, 13 insertions, 13 deletions
diff --git a/README.md b/README.md
index 01e9955..ed8c465 100644
--- a/README.md
+++ b/README.md
@@ -9,11 +9,11 @@ So with this format:
our $VERSION = '1.23';
-Keying a map to `<Plug>PerlVersionBumpMinor` would yield:
+Keying a map to `<Plug>(PerlVersionBumpMinor)` would yield:
our $VERSION = '1.24';
-Keying a map to `<Plug>PerlVersionBumpMajor` would yield:
+Keying a map to `<Plug>(PerlVersionBumpMajor)` would yield:
our $VERSION = '2.00';
diff --git a/VERSION b/VERSION
index 17e51c3..3eefcb9 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.1
+1.0.0
diff --git a/after/ftplugin/perl/version_bump.vim b/after/ftplugin/perl/version_bump.vim
index 271335f..222f72d 100644
--- a/after/ftplugin/perl/version_bump.vim
+++ b/after/ftplugin/perl/version_bump.vim
@@ -22,11 +22,11 @@ let b:undo_ftplugin = b:undo_ftplugin
" Bump version numbers
nnoremap <buffer> <silent> <unique>
- \ <Plug>PerlVersionBumpMajor
+ \ <Plug>(PerlVersionBumpMajor)
\ :<C-U>call perl#version#bump#Major()<CR>
nnoremap <buffer> <silent> <unique>
- \ <Plug>PerlVersionBumpMinor
+ \ <Plug>(PerlVersionBumpMinor)
\ :<C-U>call perl#version#bump#Minor()<CR>
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|nunmap <buffer> <Plug>PerlVersionBumpMajor'
- \ . '|nunmap <buffer> <Plug>PerlVersionBumpMinor'
+ \ . '|nunmap <buffer> <Plug>(PerlVersionBumpMajor)'
+ \ . '|nunmap <buffer> <Plug>(PerlVersionBumpMinor)'
diff --git a/doc/perl_version_bump.txt b/doc/perl_version_bump.txt
index d97a0b4..4677077 100644
--- a/doc/perl_version_bump.txt
+++ b/doc/perl_version_bump.txt
@@ -10,11 +10,11 @@ So with this format:
>
our $VERSION = '1.23';
<
-Keying a map to `<Plug>PerlVersionBumpMinor` would yield:
+Keying a map to `<Plug>(PerlVersionBumpMinor)` would yield:
>
our $VERSION = '1.24';
<
-Keying a map to `<Plug>PerlVersionBumpMajor` would yield:
+Keying a map to `<Plug>(PerlVersionBumpMajor)` would yield:
>
our $VERSION = '2.00';
<
@@ -28,12 +28,12 @@ or newer.
MAPPINGS *perl_version_bump-mappings*
- *<Plug>PerlVersionBumpMajor*
-`<Plug>PerlVersionBumpMajor</Plug>` bumps the major (first) part of the version
+ *<Plug>(PerlVersionBumpMajor)*
+`<Plug>(PerlVersionBumpMajor)</Plug>` bumps the major (first) part of the version
number, and sets the minor (second) part to zero.
- *<Plug>PerlVersionBumpMinor*
-`<Plug>PerlVersionBumpMinor</Plug>` bumps the minor (second) part of the
+ *<Plug>(PerlVersionBumpMinor)*
+`<Plug>(PerlVersionBumpMinor)</Plug>` bumps the minor (second) part of the
version number.
AUTHOR *perl_version_bump-author*