Skip to content

Commit

Permalink
Setting ignore case to default false
Browse files Browse the repository at this point in the history
  • Loading branch information
LordBrom authored Jan 26, 2018
1 parent f331042 commit 5dfadd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hightlight_duplicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

DEFAULT_COLOR_SCOPE_NAME = "invalid"
DEFAULT_IS_ENABLED = True
DEFAULT_IS_DISABLED = False

def count_lines(lines, view):
'''Counts line occurrences of a view using a hash.
Expand Down Expand Up @@ -118,7 +119,7 @@ def trimWhiteSpace():

def ignoreCase():
settings = sublime.load_settings('highlight_duplicates.sublime-settings')
return bool(settings.get('ignore_case', DEFAULT_IS_ENABLED))
return bool(settings.get('ignore_case', DEFAULT_IS_DISABLED))

def getHighlightColor():
settings = sublime.load_settings('highlight_duplicates.sublime-settings')
Expand Down

0 comments on commit 5dfadd1

Please sign in to comment.