Skip to content

Commit 0554b31

Browse files
authored
Add README.md
1 parent 3675514 commit 0554b31

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# vim-strip-trailing-whitespace
2+
![](https://github.com/axelf4/vim-strip-trailing-whitespace/workflows/CI/badge.svg)
3+
4+
Vim plugin that removes trailing whitespace
5+
* **from modified lines:** Should not introduce extraneous changes into the diff, even when editing faulty files.
6+
7+
For fixing up the whole file the command `:StripTrailingWhitespace` is provided.
8+
* **on save:** Lines changing under you feet breaks any flow and is a compatibility hazard.
9+
10+
Achieved by maintaining a set of all edited lines with trailing whitespace,
11+
backed by a Splay tree where children store line number offsets.
12+
13+
*Vim support: requires Vim 8.2+*

0 commit comments

Comments
 (0)