Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #177 from burodepeper/patch-1
Browse files Browse the repository at this point in the history
Also accept text.md as a valid Markdown scope
  • Loading branch information
daviwil committed Sep 6, 2018
2 parents 64b8e40 + 0765c9c commit 84ea711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whitespace.js
Expand Up @@ -149,7 +149,7 @@ module.exports = class Whitespace {
})

const keepMarkdownLineBreakWhitespace =
grammarScopeName === 'source.gfm' &&
grammarScopeName === ('source.gfm' || 'text.md') &&
atom.config.get('whitespace.keepMarkdownLineBreakWhitespace')

buffer.transact(() => {
Expand Down

0 comments on commit 84ea711

Please sign in to comment.