We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c406c75 commit bea2ce7Copy full SHA for bea2ce7
src/component.ts
@@ -34,7 +34,7 @@ export const SyntaxHighlight = defineComponent({
34
const isLoading = ref(true)
35
36
watch(
37
- () => [shiki.value, props.theme],
+ () => [shiki.value, props.theme, props.lang],
38
() => {
39
if (shiki.value) load(shiki.value)
40
},
0 commit comments