Skip to content

Commit

Permalink
experiment with editor options for tab size
Browse files Browse the repository at this point in the history
  • Loading branch information
codebykat committed Jun 13, 2024
1 parent b6d99a4 commit 2ac19bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/note-content-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,7 @@ class NoteContentEditor extends Component<Props> {
// @ts-ignore, @see https://github.com/microsoft/monaco-editor/issues/3829
'bracketPairColorization.enabled': false,
codeLens: false,
detectIndentation: false,
folding: false,
fontFamily:
'"Simplenote Tasks", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif',
Expand Down Expand Up @@ -1278,6 +1279,7 @@ class NoteContentEditor extends Component<Props> {
selectionHighlight: false,
showFoldingControls: 'never',
suggestOnTriggerCharacters: true,
tabSize: 3 /* 4 spaces is considered the beginning of a code block */,
unicodeHighlight: {
ambiguousCharacters: false,
invisibleCharacters: false,
Expand Down

0 comments on commit 2ac19bb

Please sign in to comment.