import('@codemirror/lang-javascript').then((m) => m.javascript()), json: () => import('@codemirror/lang-json').then((m) => m.json()), md: () => import('@codemirror/lang-markdown').then((m) => m.markdown()), css: () => import('@codemirror/lang-css').then((m) => m.css()), svelte: () => import('@replit/codemirror-lang-svelte').then((m) => m.svelte()) }, lint: diagnostics, lintOptions: { delay: 200 }, autocomplete: true, extensions: [svelte_rune_completions, js_rune_completions, watcher], instanceStore: cmInstance }} on:codemirror:textChange={({ detail: value }) => { code = value; dispatch('change', { value: code }); }} > {#if !$cmInstance.view}
{code}
loading editor...
{/if}