diff --git a/highlight_whitespaces.py b/highlight_whitespaces.py index 21f689a..a9b3c1f 100644 --- a/highlight_whitespaces.py +++ b/highlight_whitespaces.py @@ -46,7 +46,7 @@ def is_find_results(view): # Return an array of regions matching whitespaces. def find_whitespaces_spaces(view): last_whitespace = bool(hws_settings.get('highlight_last_whitespace',DEFAULT_LAST_WHITESPACE)) - regex = ' {2,}' + regex = ' {2,}|\t | \t' if last_whitespace: regex += '| {1,}$'