UNPKG

yaml-language-server

Version:
19 lines (18 loc) 928 B
import type { LanguageSettings, SchemasSettings } from '../../src/languageservice/yamlLanguageService'; import type { YamlVersion } from '../../src/languageservice/parser/yamlParser07'; export declare class ServiceSetup { languageSettings: LanguageSettings; withValidate(): ServiceSetup; withHover(): ServiceSetup; withCompletion(): ServiceSetup; withFormat(): ServiceSetup; withKubernetes(allow?: boolean): ServiceSetup; withSchemaFileMatch(schemaFileMatch: SchemasSettings): ServiceSetup; withCustomTags(customTags: string[]): ServiceSetup; withIndentation(indentation: string): ServiceSetup; withFlowMapping(mapping: 'allow' | 'forbid'): ServiceSetup; withFlowSequence(sequence: 'allow' | 'forbid'): ServiceSetup; withKeyOrdering(order?: boolean): ServiceSetup; withYamlVersion(version: YamlVersion): ServiceSetup; withhoverSchemaSource(show: boolean): ServiceSetup; }