Path: blob/main/src/vs/editor/common/services/treeSitter/treeSitterThemeService.ts
3296 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { createDecorator } from '../../../../platform/instantiation/common/instantiation.js';6import { IObservable, IReader } from '../../../../base/common/observable.js';78export const ITreeSitterThemeService = createDecorator<ITreeSitterThemeService>('treeSitterThemeService');910export interface ITreeSitterThemeService {11readonly _serviceBrand: undefined;12readonly onChange: IObservable<void>;1314findMetadata(captureNames: string[], languageId: number, bracket: boolean, reader: IReader | undefined): number;15}161718