diff --git a/powerline/segments/vim/__init__.py b/powerline/segments/vim/__init__.py index 28bcef67..122c9e9a 100644 --- a/powerline/segments/vim/__init__.py +++ b/powerline/segments/vim/__init__.py @@ -578,7 +578,7 @@ def trailing_whitespace(pl, segment_info): else: buf = segment_info['buffer'] bws = b' \t' - sws = str(bws) + sws = str(' \t') # Ignore unicode_literals and use native str. for i in range(len(buf)): try: line = buf[i]