diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-12 13:04:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-12 13:04:06 +1200 |
commit | e689a60912a1832f167bdc88cf08cbba2a9ae7e1 (patch) | |
tree | 5a2112a7c10e464da8663a142abd510a778180c7 | |
parent | Merge branch 'hotfix/v0.6.2' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-strip-trailing-whitespace-e689a60912a1832f167bdc88cf08cbba2a9ae7e1.tar.gz vim-strip-trailing-whitespace-e689a60912a1832f167bdc88cf08cbba2a9ae7e1.zip |
Merge branch 'release/v1.0.0'v1.0.0
* release/v1.0.0:
Bump VERSION
Parenthesize plugin map
Give cutoff point a sensible starting value
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/strip_trailing_whitespace.txt | 6 | ||||
-rw-r--r-- | plugin/strip_trailing_whitespace.vim | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -1 +1 @@ -0.6.2 +1.0.0 diff --git a/doc/strip_trailing_whitespace.txt b/doc/strip_trailing_whitespace.txt index 93a4d89..8ee64f3 100644 --- a/doc/strip_trailing_whitespace.txt +++ b/doc/strip_trailing_whitespace.txt @@ -28,12 +28,12 @@ This plugin is only available if 'compatible' is not set. MAPPINGS *strip_trailing_whitespace-mappings* - *<Plug>StripTrailingWhitespace* -The single mapping target provided is |<Plug>StripTrailingWhitespace|, + *<Plug>(StripTrailingWhitespace)* +The single mapping target provided is |<Plug>(StripTrailingWhitespace)|, mappable in any mode. There is no default key mapping to the target; you should define this yourself in your |vimrc|. For example: > - nmap <Leader>x <Plug>StripTrailingWhitespace + nmap <Leader>x <Plug>(StripTrailingWhitespace) < AUTHOR *strip_trailing_whitespace-author* diff --git a/plugin/strip_trailing_whitespace.vim b/plugin/strip_trailing_whitespace.vim index f3e01c0..de08fae 100644 --- a/plugin/strip_trailing_whitespace.vim +++ b/plugin/strip_trailing_whitespace.vim @@ -91,5 +91,5 @@ endfunction " Create mapping proxy to the function just defined nnoremap <silent> <unique> - \ <Plug>StripTrailingWhitespace + \ <Plug>(StripTrailingWhitespace) \ :<C-U>call <SID>StripTrailingWhitespace()<CR> |