diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-10 01:38:47 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-10 01:38:47 +1200 |
commit | fb3c25becd1e4a565c4339b000b96ff519544dbd (patch) | |
tree | 3ad12db14bb965ee3560e6ee37da48fcf46f9699 /doc | |
parent | Initial commit (diff) | |
download | vim-strip-trailing-whitespace-fb3c25becd1e4a565c4339b000b96ff519544dbd.tar.gz vim-strip-trailing-whitespace-fb3c25becd1e4a565c4339b000b96ff519544dbd.zip |
Refactor majorly for 0.2.0v0.2.0
- Do report counts of trimmed and deleted lines (and distinguish them
accurately)
- Fully backport to 6.0 (no cursor() func in that version)
- Don't substitute on lines without trailing space
Diffstat (limited to 'doc')
-rw-r--r-- | doc/strip_trailing_whitespace.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/strip_trailing_whitespace.txt b/doc/strip_trailing_whitespace.txt index 3e1807b..96635ab 100644 --- a/doc/strip_trailing_whitespace.txt +++ b/doc/strip_trailing_whitespace.txt @@ -1,4 +1,4 @@ -*strip_trailing_whitespace.txt* For Vim version 6.0 Last change: 2018 May 31 +*strip_trailing_whitespace.txt* For Vim version 6.0 Last change: 2018 June 10 DESCRIPTION *strip_trailing_whitespace* @@ -13,12 +13,11 @@ because I could not find a plugin that did this in exactly the way I wanted: - Provide a |<Plug>| mapping - Provide a user command to do the stripping as well if wanted -- Strip trailing lines as well as trailing spaces +- Strip trailing lines as well as trailing spaces, reporting both - Work with even very old Vim (>=6.0) - Work with a single |undo| - Don't move the cursor - Don't change the search pattern -- Don't emit output - Don't define an |autocmd| - Don't force a key mapping - Don't define a global function |