Skip to content

Commit cc19be0

Browse files
authored
Add Markdown to "scope_ignore" default setting (#145)
1 parent c03eb11 commit cc19be0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ highlight off and on will refresh them.
278278

279279
### Ignore Scope
280280

281-
*Default: ["text.find-in-files", "source.build_output", "source.diff"]*
281+
*Default: ["text.find-in-files", "source.build_output", "source.diff", "text.html.markdown"]*
282282

283283
With this option you can ignore lines being highlighted based on the scope of
284284
their trailing region.
@@ -290,8 +290,8 @@ By default, the scope under the mouse cursor is shown by pressing
290290
`Option+Command+P` (OS X) or `Ctrl+Alt+Shift+P` (Windows, Linux)
291291

292292
``` js
293-
// Trailing spaces for find results, build output and markdown are ignored
294-
{ "scope_ignore": ["text.find-in-files", "source.build_output", "text.html.markdown"] }
293+
// Trailing spaces for Find Results, Build output, Diff and Markdown are ignored
294+
{ "scope_ignore": ["text.find-in-files", "source.build_output", "source.diff", "text.html.markdown"] }
295295
```
296296

297297
### For power-users only!

trailing_spaces.sublime-settings

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
// Set to false to ignore trailing spaces on the edited line.
2525
"include_current_line" : true,
2626

27-
// By default, any lines in the Find Results Build output and Diff views are ignored
27+
// By default, any lines in the Find Results, Build output, Diff and Markdown views are ignored
2828
// Add scopes to this list if you need to ignore them.
29-
"scope_ignore": ["text.find-in-files", "source.build_output", "source.diff"],
29+
"scope_ignore": ["text.find-in-files", "source.build_output", "source.diff", "text.html.markdown"],
3030

3131
// By default, trailing spaces are deleted within the whole document.
3232
// Set to true to affect only the lines you edited since last save.

0 commit comments

Comments
 (0)