Skip to content

Commit 7a56e69

Browse files
committed
fix: improve $effect.active REPL autocomplete
1 parent 3c155e3 commit 7a56e69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sites/svelte-5-preview/src/lib/CodeMirror.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@
226226
type: 'keyword',
227227
boost: 3
228228
}),
229-
{ label: '$effect.active', type: 'keyword', boost: 2 },
229+
snip('$effect.active()', {
230+
label: '$effect.active',
231+
type: 'keyword',
232+
boost: 2
233+
}),
230234
{ label: '$inspect', type: 'keyword', boost: 1 }
231235
]
232236
};

0 commit comments

Comments
 (0)