Hunt for spaces after tabs or tabs after spaces as well
This commit is contained in:
parent
dc3c860a25
commit
148ad95966
|
@ -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,}$'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user