mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Don't auto outdent if preceding row is null
This commit is contained in:
@@ -189,6 +189,7 @@ class LanguageMode
|
||||
|
||||
currentIndentLevel = @editSession.indentationForBufferRow(bufferRow)
|
||||
precedingRow = @buffer.previousNonBlankRow(bufferRow)
|
||||
return unless precedingRow?
|
||||
precedingLine = @buffer.lineForRow(precedingRow)
|
||||
|
||||
desiredIndentLevel = @editSession.indentationForBufferRow(precedingRow)
|
||||
|
||||
Reference in New Issue
Block a user