Skip to content
This repository was archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
Use buffer.setTextViaDiff To Modify The Buffer
Browse files Browse the repository at this point in the history
- Fixes #3
- Fixes #5
  • Loading branch information
joefitzgerald committed Mar 19, 2016
1 parent ba888b9 commit b8fda6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class Formatter {
return
}
if (r.exitcode === 0) {
buffer.setText(r.stdout)
buffer.setTextViaDiff(r.stdout)
if (cursor) {
editor.setCursorBufferPosition(cursor, {autoscroll: false})
}
Expand Down

0 comments on commit b8fda6e

Please sign in to comment.