Skip to content

Commit

Permalink
Updating readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
LordBrom committed Aug 24, 2021
1 parent 4f89edf commit 94787d6
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ _Note:_ By default none of these commands have a key binding, and can only be us
## Options

### Change The Highlighting Color
`Default: "invalid"`
`highlight_duplicates_color: "invalid"`

The highlighting color can be changed by providing a scope name such
as "invalid", "comment", etc...
Expand All @@ -81,7 +81,7 @@ it should be defined as a color scope in your theme file.


### Trim White Space
`Default: true`
`trim_white_space: true`

If this setting is true, the leading and trailing white space will be removed before being compared to other lines. This setting also affects which lines are selected when using the 'Select Duplicates' command.

Expand All @@ -98,7 +98,7 @@ However, the following lines would not be counted as duplicates. The reason for


### Ignore Case
`Default: false`
`ignore_case: false`

If this setting is true, upper and lower case letters will be considered the same. This setting also affects which lines are selected when using the 'Select Duplicates' command.

Expand All @@ -110,7 +110,7 @@ For example, if `"ignore_case" : true` the following 2 lines will be counted as


### Min Line Length
`Default: 4`
`min_line_length: 4`

Lines with fewer characters than specified in this setting, will be ignored for all functions. Setting this to 1 will cause all non empty lines to be possible duplicates.

Expand All @@ -128,8 +128,25 @@ For example, by default, only lines 7 and 8 will be selected when using the "sel



### Min Duplicate Count
`min_duplicate_count: 1`

The number of matching lines, beyond the first, that need to be found in order to be counted as duplicates.

For example, setting this option to `2`, will make it so only lines 3-5 are highlighted below.

``` html
1: not this
2: not this
3: this
4: this
5: this
```



### Ignore List
`Default: []`
`ignore_list: []`

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.

Expand Down

0 comments on commit 94787d6

Please sign in to comment.