Skip to content

Commit

Permalink
editor: set tab-size to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
yfzhe committed Dec 4, 2024
1 parent 6ad7aa6 commit bc05d48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/webassembly-playground/src/ui/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const Editor = forwardRef<EditorRef, EditorProps>(({ initialContent }, ref) => {
const editor = monaco.editor.create(containerRef.current!, {
value: initialContent,
automaticLayout: true,
tabSize: 2,
minimap: { enabled: false },
});
editorRef.current = editor;
Expand Down

0 comments on commit bc05d48

Please sign in to comment.