Skip to content

Commit 23e375c

Browse files
matt1003ntpeters
authored andcommitted
Match spaces that appear before or in-between tabs (#58)
* Add support for unicode whitespace characters * Add section to readme on supported whitespace characters * Add file with samples of various whitespace characters * Update README.md * Update README.md * Match spaces that appear before or in-between tabs This patch adds a option to enable matching of space characters that appear before or in-between tabs. Removing such characters can be as important as removing trailing white-space. This option is currently disabled by default.
1 parent b8dadee commit 23e375c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ Whitespace highlighting is enabled by default, with a highlight color of red.
176176
let g:better_whitespace_verbosity=1
177177
```
178178
179-
180179
## Supported Whitespace Characters
181180
Due to the fact that the built-in whitespace character class for patterns (`\s`)
182181
only matches against tabs and spaces, this plugin defines its own list of

whitespace_examples.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ U+0020 SPACE:
33
U+00A0 NO-BREAK SPACE: 
44
U+1680 OGHAM SPACE MARK: 
55
U+180E MONGOLIAN VOWEL SEPARATOR:᠎
6-
U+2000 EN QUAD: 
7-
U+2001 EM QUAD:
6+
U+2000 EN QUAD:
7+
U+2001 EM QUAD:
88
U+2002 EN SPACE: 
99
U+2003 EM SPACE: 
1010
U+2004 THREE-PER-EM SPACE: 

0 commit comments

Comments
 (0)