Skip to content

Commit 9046831

Browse files
committed
refactor: change editors settings
1 parent c58e274 commit 9046831

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,10 @@ const ConfirmModal: React.FC<ConfirmModalProps> = ({
135135
const getCommonEditorOptions = (fontSize: number) => ({
136136
minimap: { enabled: false },
137137
fontSize: fontSize,
138-
wordWrap: 'on' as const,
138+
wordWrap: 'off' as const,
139139
automaticLayout: true,
140140
scrollBeyondLastLine: false,
141141
renderLineHighlight: 'none' as const,
142-
lineNumbers: 'off' as const,
143142
lineNumbersMinChars: 0,
144143
stickyScroll: { enabled: false },
145144
hover: { enabled: false },
@@ -701,6 +700,7 @@ function App() {
701700
...getCommonEditorOptions(fontSize),
702701
folding: false,
703702
showFoldingControls: 'never',
703+
lineNumbers: 'off',
704704
}}
705705
/>
706706
</div>

0 commit comments

Comments
 (0)