Skip to content

Commit bed3433

Browse files
committed
fix: update README
1 parent 90073c5 commit bed3433

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ To enable them, import the following files:
6666
##### Highlighting/theme
6767

6868
This library uses VS Code themes instead of Monaco theme.
69-
To add your custom theme, use the `addVSCodeTheme` method.
70-
71-
:warning: this method returns a promise, you need to wait for it before calling `monaco.editor.setTheme`.
69+
To add your custom theme, use the `defineVSCodeTheme` method.
7270

7371
Default Monaco theme shouldn't be used.
7472

0 commit comments

Comments
 (0)