Skip to content

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
meriadec committed Apr 5, 2017
1 parent dd60d02 commit 0676fc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/components/FileEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ class FileEditor extends Component {
this._codeMirror = null
}
this._codeMirror = CodeMirror.fromTextArea(this._textarea, {
indentUnit: 2,
tabSize: 2,
indentWithTabs: false,
mode: 'xml',
lineNumbers: true,
theme: 'one-dark',
Expand Down

0 comments on commit 0676fc8

Please sign in to comment.