From 2fdba6104fe7488ae667d5d33f447bc71a047d9b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 12 Jul 2018 13:21:59 +1200 Subject: Parenthesize mapping names --- README.md | 4 ++-- after/ftplugin/perl/version_bump.vim | 8 ++++---- doc/perl_version_bump.txt | 12 ++++++------ 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 `PerlVersionBumpMinor` would yield: +Keying a map to `(PerlVersionBumpMinor)` would yield: our $VERSION = '1.24'; -Keying a map to `PerlVersionBumpMajor` would yield: +Keying a map to `(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 - \ PerlVersionBumpMajor + \ (PerlVersionBumpMajor) \ :call perl#version#bump#Major() nnoremap - \ PerlVersionBumpMinor + \ (PerlVersionBumpMinor) \ :call perl#version#bump#Minor() let b:undo_ftplugin = b:undo_ftplugin - \ . '|nunmap PerlVersionBumpMajor' - \ . '|nunmap PerlVersionBumpMinor' + \ . '|nunmap (PerlVersionBumpMajor)' + \ . '|nunmap (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 `PerlVersionBumpMinor` would yield: +Keying a map to `(PerlVersionBumpMinor)` would yield: > our $VERSION = '1.24'; < -Keying a map to `PerlVersionBumpMajor` would yield: +Keying a map to `(PerlVersionBumpMajor)` would yield: > our $VERSION = '2.00'; < @@ -28,12 +28,12 @@ or newer. MAPPINGS *perl_version_bump-mappings* - *PerlVersionBumpMajor* -`PerlVersionBumpMajor` bumps the major (first) part of the version + *(PerlVersionBumpMajor)* +`(PerlVersionBumpMajor)` bumps the major (first) part of the version number, and sets the minor (second) part to zero. - *PerlVersionBumpMinor* -`PerlVersionBumpMinor` bumps the minor (second) part of the + *(PerlVersionBumpMinor)* +`(PerlVersionBumpMinor)` bumps the minor (second) part of the version number. AUTHOR *perl_version_bump-author* -- cgit v1.2.3