Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Set indentUnit and tabSize to the same value (closes #93)
Browse files Browse the repository at this point in the history
  • Loading branch information
brrd committed Oct 2, 2017
1 parent c29b4a0 commit 14806bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/renderer/cm-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ function initCodeMirror () {
autoCloseBrackets: false,
scrollbarStyle: "overlay",
mode: "abr-spellcheck-off",
indentUnit: 4,
tabSize: 4,
// TODO: replace default keymap by a custom one which removes most of hotkeys (CodeMirror interferences with menu accelerators)
extraKeys: {
"Enter": "newlineAndIndentContinueMarkdownList",
Expand Down

0 comments on commit 14806bc

Please sign in to comment.