Skip to content

Commit c004925

Browse files
authored
fix(inspector): codemirror matched utilities miss highlight (#3394)
1 parent fe3fa73 commit c004925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/inspector/client/components/ModuleInfo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const formatted = useCSSPrettify(computed(() => mod.value?.css), isPrettify)
7575
<Splitpanes>
7676
<Pane size="50">
7777
<CodeMirror
78-
h-full :model-value="mod.code" :read-only="true" :mode="mode" :matched="mod.matched"
78+
h-full :model-value="mod.code" :read-only="true" :mode="mode" :matched="(mod.matched || []).map(i => i.name)"
7979
class="scrolls module-scrolls" :style="style"
8080
/>
8181
</Pane>

0 commit comments

Comments
 (0)