mirror of
https://github.com/atom/atom.git
synced 2026-02-13 16:14:59 -05:00
Remove the normalizeIndentOnPaste setting. Always do it.
This commit is contained in:
@@ -2511,7 +2511,7 @@ class TextEditor extends Model
|
||||
|
||||
delete options.indentBasis
|
||||
{cursor} = selection
|
||||
if indentBasis? and atom.config.get(cursor.getScopeDescriptor(), "editor.normalizeIndentOnPaste")
|
||||
if indentBasis?
|
||||
containsNewlines = text.indexOf('\n') isnt -1
|
||||
if containsNewlines or !cursor.hasPrecedingCharactersOnLine()
|
||||
options.indentBasis ?= indentBasis
|
||||
|
||||
Reference in New Issue
Block a user