mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
Scope editor.normalizeIndentOnPaste
This commit is contained in:
@@ -2448,7 +2448,7 @@ class TextEditor extends Model
|
||||
|
||||
return
|
||||
|
||||
else if atom.config.get("editor.normalizeIndentOnPaste") and metadata?.indentBasis?
|
||||
else if atom.config.get(@scopesAtCursor(), "editor.normalizeIndentOnPaste") and metadata?.indentBasis?
|
||||
if !@getLastCursor().hasPrecedingCharactersOnLine() or containsNewlines
|
||||
options.indentBasis ?= metadata.indentBasis
|
||||
|
||||
|
||||
Reference in New Issue
Block a user