File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/language-service/lib/plugins Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,8 @@ export function create(
2424 documentDropEditsProvider : true ,
2525 } ,
2626 create ( context ) {
27- let casing = TagNameCasing . Pascal as TagNameCasing ; // TODO
28-
2927 const tsPluginClient = getTsPluginClient ?.( context ) ;
30- const vueCompilerOptions = context . project . vue ! . compilerOptions ;
28+ let casing = TagNameCasing . Pascal as TagNameCasing ; // TODO
3129
3230 return {
3331 async provideDocumentDropEdits ( document , _position , dataTransfer ) {
@@ -53,7 +51,7 @@ export function create(
5351 importUri = item . value as string ;
5452 }
5553 }
56- if ( ! importUri || ! vueCompilerOptions . extensions . some ( ext => importUri . endsWith ( ext ) ) ) {
54+ if ( ! importUri || ! root . vueCompilerOptions . extensions . some ( ext => importUri . endsWith ( ext ) ) ) {
5755 return ;
5856 }
5957
You can’t perform that action at this time.
0 commit comments