From e5d7cf3cdb00db73c6a2ffc122cd4491f4b69657 Mon Sep 17 00:00:00 2001 From: Nate Mills Date: Fri, 20 May 2022 21:04:19 -0700 Subject: [PATCH] fixing spelling and markdown validation --- highlight_duplicates.sublime-settings | 2 +- hightlight_duplicates.py | 2 +- readme.md | 12 +++++------- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/highlight_duplicates.sublime-settings b/highlight_duplicates.sublime-settings index 14e289a..daf2557 100644 --- a/highlight_duplicates.sublime-settings +++ b/highlight_duplicates.sublime-settings @@ -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 diff --git a/hightlight_duplicates.py b/hightlight_duplicates.py index 9c7824f..b99b520 100644 --- a/hightlight_duplicates.py +++ b/hightlight_duplicates.py @@ -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') diff --git a/readme.md b/readme.md index 43396bc..e3904ee 100644 --- a/readme.md +++ b/readme.md @@ -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: @@ -51,9 +51,9 @@ For example... Would result in ``` html -1: -2: Content -3: + 1: + 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) @@ -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