volar-service-pug-beautify
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -1,7 +0,7 @@ | ||
import type { DocumentSelector, FormattingOptions, ProviderResult, ServiceContext, LanguageServicePlugin, TextDocument } from '@volar/language-service'; | ||
import type { DocumentSelector, FormattingOptions, ProviderResult, LanguageServiceContext, LanguageServicePlugin, TextDocument } from '@volar/language-service'; | ||
export declare function create({ documentSelector, isFormattingEnabled, getFormattingOptions, }?: { | ||
documentSelector?: DocumentSelector; | ||
isFormattingEnabled?(document: TextDocument, context: ServiceContext): ProviderResult<boolean>; | ||
getFormattingOptions?(document: TextDocument, options: FormattingOptions, context: ServiceContext): ProviderResult<{}>; | ||
isFormattingEnabled?(document: TextDocument, context: LanguageServiceContext): ProviderResult<boolean>; | ||
getFormattingOptions?(document: TextDocument, options: FormattingOptions, context: LanguageServiceContext): ProviderResult<{}>; | ||
}): LanguageServicePlugin; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -12,2 +12,5 @@ "use strict"; | ||
name: 'pug-beautify', | ||
capabilities: { | ||
documentFormattingProvider: true, | ||
}, | ||
create(context) { | ||
@@ -14,0 +17,0 @@ return { |
{ | ||
"name": "volar-service-pug-beautify", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "Integrate pug-beautify into Volar", | ||
@@ -30,3 +30,3 @@ "homepage": "https://github.com/volarjs/services/tree/master/packages/pug-beautify", | ||
"peerDependencies": { | ||
"@volar/language-service": "~2.2.3" | ||
"@volar/language-service": "~2.3.0-alpha.0" | ||
}, | ||
@@ -41,3 +41,3 @@ "peerDependenciesMeta": { | ||
}, | ||
"gitHead": "d53f4dfa7007e77409af3ef28cc165e9940e7313" | ||
"gitHead": "6a80c92133e154907a79eefa05603f63994214c3" | ||
} |
5230
59