Skip to content

Commit

Permalink
fix(inspector): codemirror matched utilities miss highlight (#3394)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Nov 29, 2023
1 parent fe3fa73 commit c004925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inspector/client/components/ModuleInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const formatted = useCSSPrettify(computed(() => mod.value?.css), isPrettify)
<Splitpanes>
<Pane size="50">
<CodeMirror
h-full :model-value="mod.code" :read-only="true" :mode="mode" :matched="mod.matched"
h-full :model-value="mod.code" :read-only="true" :mode="mode" :matched="(mod.matched || []).map(i => i.name)"
class="scrolls module-scrolls" :style="style"
/>
</Pane>
Expand Down

0 comments on commit c004925

Please sign in to comment.