File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/language-service Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ import { getElementNames } from '@vue/typescript-plugin/lib/requests/getElementN
43
43
import { getImportPathForFile } from '@vue/typescript-plugin/lib/requests/getImportPathForFile' ;
44
44
import { getPropertiesAtLocation } from '@vue/typescript-plugin/lib/requests/getPropertiesAtLocation' ;
45
45
import type { RequestContext } from '@vue/typescript-plugin/lib/requests/types' ;
46
- import { URI } from 'vscode-uri' ;
46
+ import type { URI } from 'vscode-uri' ;
47
47
48
48
declare module '@volar/language-service' {
49
49
export interface ProjectContext {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as kit from '@volar/kit';
2
2
import * as ts from 'typescript' ;
3
3
import { describe , expect , it } from 'vitest' ;
4
4
import type { URI } from 'vscode-uri' ;
5
- import { createVueLanguagePlugin , getDefaultCompilerOptions , getFullLanguageServicePlugins } from '../..' ;
5
+ import { createVueLanguagePlugin , getDefaultCompilerOptions , getHybridModeLanguageServicePlugins } from '../..' ;
6
6
7
7
const resolvedVueOptions = getDefaultCompilerOptions ( ) ;
8
8
const vueLanguagePlugin = createVueLanguagePlugin < URI > (
@@ -11,7 +11,7 @@ const vueLanguagePlugin = createVueLanguagePlugin<URI>(
11
11
resolvedVueOptions ,
12
12
( ) => ''
13
13
) ;
14
- const vueServicePLugins = getFullLanguageServicePlugins ( ts ) ;
14
+ const vueServicePLugins = getHybridModeLanguageServicePlugins ( ts , undefined ) ;
15
15
const formatter = kit . createFormatter ( [ vueLanguagePlugin ] , vueServicePLugins ) ;
16
16
17
17
export function defineFormatTest ( options : {
You can’t perform that action at this time.
0 commit comments