aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--after/ftplugin/perl/version_bump.vim8
-rw-r--r--doc/perl_version_bump.txt12
3 files changed, 12 insertions, 12 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/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*