File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
packages/language-core/lib/codegen Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,12 @@ const raw = {
24
24
navigation : {
25
25
navigation : true ,
26
26
} ,
27
+ navigationWithoutHighlight : {
28
+ navigation : { shouldHighlight : ( ) => false } ,
29
+ } ,
27
30
navigationWithoutRename : {
28
31
navigation : { shouldRename : ( ) => false } ,
29
32
} ,
30
- navigationAndCompletion : {
31
- navigation : true ,
32
- completion : true ,
33
- } ,
34
33
navigationAndAdditionalCompletion : {
35
34
navigation : true ,
36
35
completion : { isAdditional : true } ,
@@ -63,10 +62,6 @@ const raw = {
63
62
verification : true ,
64
63
navigation : true ,
65
64
} ,
66
- withoutHighlightAndCompletionAndNavigation : {
67
- semantic : { shouldHighlight : ( ) => false } ,
68
- verification : true ,
69
- } ,
70
65
withoutSemantic : {
71
66
verification : true ,
72
67
navigation : true ,
Original file line number Diff line number Diff line change @@ -301,13 +301,18 @@ export function* generateElement(
301
301
: undefined ;
302
302
const failedPropExps : FailedPropExpression [ ] = [ ] ;
303
303
304
+ const features = {
305
+ ...codeFeatures . semanticWithoutHighlight ,
306
+ ...codeFeatures . navigationWithoutHighlight ,
307
+ } ;
308
+
304
309
yield `__VLS_asFunctionalElement(__VLS_elements` ;
305
310
yield * generatePropertyAccess (
306
311
options ,
307
312
ctx ,
308
313
node . tag ,
309
314
startTagOffset ,
310
- ctx . codeFeatures . withoutHighlightAndCompletion ,
315
+ features ,
311
316
) ;
312
317
if ( endTagOffset !== undefined ) {
313
318
yield `, __VLS_elements` ;
@@ -316,7 +321,7 @@ export function* generateElement(
316
321
ctx ,
317
322
node . tag ,
318
323
endTagOffset ,
319
- ctx . codeFeatures . withoutHighlightAndCompletion ,
324
+ features ,
320
325
) ;
321
326
}
322
327
yield `)(` ;
You can’t perform that action at this time.
0 commit comments