Skip to content

Commit

Permalink
refactor: Pass countChars into MainEditor config
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanlesage committed Dec 8, 2024
1 parent 575b35e commit aeb1376
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/common/modules/markdown-editor/util/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 72,7 @@ export interface EditorConfiguration {
theme: MarkdownTheme
margins: 'S'|'M'|'L'
highlightWhitespace: boolean
countChars: boolean
}

export function getDefaultConfig (): EditorConfiguration {
Expand Down Expand Up @@ -126,7 127,8 @@ export function getDefaultConfig (): EditorConfiguration {
darkMode: false,
theme: 'berlin',
margins: 'M',
highlightWhitespace: false
highlightWhitespace: false,
countChars: false
}
}

Expand Down

0 comments on commit aeb1376

Please sign in to comment.