Skip to content

Commit

Permalink
fixing spelling and markdown validation
Browse files Browse the repository at this point in the history
  • Loading branch information
LordBrom committed May 21, 2022
1 parent f83f718 commit e5d7cf3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion highlight_duplicates.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// If true, letter casing is ignored for checking for matching lines
"ignore_case" : false,

// The minimun length a line needs to be in order to be included as a matching line
// The minimum length a line needs to be in order to be included as a matching line
"min_line_length" : 4,

// The minimum number of duplicate lines needed to be found, in order to be included as a matching line
Expand Down
2 changes: 1 addition & 1 deletion hightlight_duplicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def remove_duplicates(view, edit):


def downlight_duplicates(view):
'''Removes any region highlighted by this plugin accross all views.'''
'''Removes any region highlighted by this plugin across all views.'''
view.erase_regions('DuplicatesHighlightListener')


Expand Down
12 changes: 5 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a [Sublime Text 3](http://www.sublimetext.com/3) (and ST2) plugin.
Press ctrl+shift+p (cmd+shift+p for OSX), then use the 'Package Control: Install Package' command.
Search for 'HighlightDuplicates', and press enter to install.

**Manually**
### Manually

Go to your `Packages` subdirectory under ST3's data directory:

Expand Down Expand Up @@ -51,9 +51,9 @@ For example...
Would result in

``` html
1: <someTag></someTag>
2: Content
3:
1: <someTag></someTag>
2: Content
3:
```

_Note:_ By default none of these commands have a key binding, and can only be used via the Command Palette. You can set a key binding by adding any of the following lines to the key binding file. (Preferences > Key Bindings)
Expand Down Expand Up @@ -150,9 +150,7 @@ For example, setting this option to `2`, will make it so only lines 3-5 are high

Lines matching entires in this list, will be ignored for all functions. Leading and trailing white space, as well as letter case, will be ignored when checking lines against the ignore list.

`
"ignore_list": ["This line will be ignored"]
`
`"ignore_list": ["This line will be ignored"]`

``` html
1: This line will be ignored
Expand Down

0 comments on commit e5d7cf3

Please sign in to comment.