Skip to content

Commit ed487f6

Browse files
committed
fix(language-core): only keep navigation code feature on static name value of <slot>
1 parent 34b5dd2 commit ed487f6

File tree

1 file changed

+2
-2
lines changed
  • packages/language-core/lib/codegen/template

1 file changed

+2
-2
lines changed

packages/language-core/lib/codegen/template/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ function* generateSlots(
8989
ctx,
9090
slot.name,
9191
slot.offset,
92-
ctx.codeFeatures.withoutHighlightAndCompletion,
92+
ctx.codeFeatures.navigation,
9393
);
9494
} else {
9595
yield* wrapWith(
9696
slot.tagRange[0],
9797
slot.tagRange[1],
98-
ctx.codeFeatures.withoutHighlightAndCompletion,
98+
ctx.codeFeatures.navigation,
9999
`default`,
100100
);
101101
}

0 commit comments

Comments
 (0)