mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Make words more consistent
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user