Skip to content

Commit

Permalink
Fix import snippet
Browse files Browse the repository at this point in the history
FIX: Fix invalid syntax in the `import` completion snippet.

Closes codemirror/dev#1378
  • Loading branch information
marijnh committed May 4, 2024
1 parent 441743e commit 6f63fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const snippets: readonly Completion[] = [
detail: "/ else block",
type: "keyword"
}),
snip("import ${name} from \"${module}\"\n${}", {
snip("import ${name} \"${module}\"\n${}", {
label: "import",
detail: "declaration",
type: "keyword"
Expand Down

0 comments on commit 6f63fea

Please sign in to comment.