File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/language-core/lib/codegen/template Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,11 @@ const _codeFeatures = {
5353 navigation : true ,
5454 completion : true ,
5555 } as VueCodeInformation ,
56+ withoutHighlightAndNavigation : {
57+ semantic : { shouldHighlight : ( ) => false } ,
58+ verification : true ,
59+ completion : true ,
60+ } as VueCodeInformation ,
5661 withoutHighlightAndCompletion : {
5762 semantic : { shouldHighlight : ( ) => false } ,
5863 verification : true ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function* generateIdentifier(
5959 rawName ,
6060 prop . loc . start . offset ,
6161 {
62- ...ctx . codeFeatures . all ,
62+ ...ctx . codeFeatures . withoutHighlight ,
6363 verification : false ,
6464 completion : {
6565 // fix https://github.com/vuejs/language-tools/issues/1905
@@ -143,7 +143,7 @@ export function* generateModifiers(
143143 ctx ,
144144 mod . content ,
145145 mod . loc . start . offset ,
146- ctx . codeFeatures . withoutNavigation
146+ ctx . codeFeatures . withoutHighlightAndNavigation
147147 ) ;
148148 yield `: true, ` ;
149149 }
You can’t perform that action at this time.
0 commit comments