Make words more consistent

This commit is contained in:
Garen Torikian
2013-04-23 17:14:19 -07:00
parent 0ae599ad6f
commit 41c79789e3

View File

@@ -11,7 +11,7 @@ module.exports =
buffer.transact ->
buffer.scan /[ \t]+$/g, ({match, replace}) ->
# GFM permits two whitespaces at the end of a line--trim anything else
unless editSession.getGrammar().scopeName is "source.gfm" and match[0] == " "
unless editSession.getGrammar().scopeName is "source.gfm" and match[0] is " "
replace('')
if config.get('whitespace.ensureSingleTrailingNewline')