Skip to content

Commit 56a5383

Browse files
committed
fix: Update README
1 parent 7317f36 commit 56a5383

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ Instead of using `monaco.editor.create`, you should use the `createEditor` expos
5656
By default, monaco-editor contains worker to achieve IntelliSense in CSS, SCSS, JavaScript, TypeScript, JSON and HTML.
5757

5858
To enable them, import the following files:
59-
- JSON: `import '@codingame/monaco-editor-wrapper/dist/jsonContribution'`
60-
- JavaScript/TypeScript: `import '@codingame/monaco-editor-wrapper/dist/typescriptContribution'`
61-
- CSS/SCSS: `import '@codingame/monaco-editor-wrapper/dist/cssContribution'`
62-
- HTML: `import '@codingame/monaco-editor-wrapper/dist/htmlContribution'`
59+
- JSON: `import '@codingame/monaco-editor-wrapper/features/jsonContribution'`
60+
- JavaScript/TypeScript: `import '@codingame/monaco-editor-wrapper/features/typescriptContribution'`
61+
- CSS/SCSS: `import '@codingame/monaco-editor-wrapper/features/cssContribution'`
62+
- HTML: `import '@codingame/monaco-editor-wrapper/features/htmlContribution'`
6363

6464
#### Additional apis
6565

@@ -79,4 +79,5 @@ This library exposed some functions to manage the user global configuration:
7979
- `updateUserConfiguration` Update the user configuration, overrides the default configuration, uses the same syntax as VS Code configuration
8080
- `getConfiguration` allows to get a given configuration key in a given language
8181
- `onConfigurationChanged` listen to configuration change
82-
- `updateEditorKeybindings` allows to update the editor keybindings with the same syntax as in VS Code, or enabled Emacs/Vim keybindings
82+
- `updateKeybindings` allows to update the editor keybindings with the same syntax as in VS Code
83+
- `updateEditorKeybindingsMode` switch between `vim`, `emacs` or `classic` keybindings

0 commit comments

Comments
 (0)