Skip to content

Commit ca1bed7

Browse files
boristianacao
authored andcommitted
Added missing imports in README.md example
1 parent 241c77a commit ca1bed7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ This approach allows you to configure the json mode and parse linter, as well as
7575
```ts
7676
import { EditorState } from "@codemirror/state";
7777
import { linter } from "@codemirror/lint";
78-
import { json, jsonParseLinter } from "@codemirror/lang-json";
79-
import { jsonSchemaLinter, jsonSchemaHover } from "codemirror-json-schema";
78+
import { hoverTooltip } from "@codemirror/view";
79+
import { json, jsonLanguage, jsonParseLinter } from "@codemirror/lang-json";
80+
import { jsonCompletion jsonSchemaLinter, jsonSchemaHover } from "codemirror-json-schema";
8081

8182
const schema = {
8283
type: "object",

0 commit comments

Comments
 (0)