Skip to content

Commit 1727f10

Browse files
authored
Merge pull request microsoft#250061 from microsoft/legomushroom/prompts/disable-front-matter-header-decoration
[prompts]: disable front matter header decorations provider
2 parents 34eb0b3 + a5aedd8 commit 1727f10

File tree

1 file changed

+6
-2
lines changed
  • src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures

1 file changed

+6
-2
lines changed

src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { isWindows } from '../../../../../../../base/common/platform.js';
99
import { PromptPathAutocompletion } from './providers/promptPathAutocompletion.js';
1010
import { PromptLinkDiagnosticsInstanceManager } from './providers/promptLinkDiagnosticsProvider.js';
1111
import { PromptHeaderDiagnosticsInstanceManager } from './providers/promptHeaderDiagnosticsProvider.js';
12-
import { PromptDecorationsProviderInstanceManager } from './providers/decorationsProvider/promptDecorationsProvider.js';
1312

1413
/**
1514
* Base list of language feature contributions.
@@ -18,7 +17,12 @@ const CONTRIBUTIONS: TContribution[] = [
1817
PromptLinkProvider,
1918
PromptLinkDiagnosticsInstanceManager,
2019
PromptHeaderDiagnosticsInstanceManager,
21-
PromptDecorationsProviderInstanceManager,
20+
/**
21+
* PromptDecorationsProviderInstanceManager is currently disabled because the only currently
22+
* available decoration is the Front Matter header, which we decided to disable for now.
23+
* Add it back when more decorations are needed.
24+
*/
25+
// PromptDecorationsProviderInstanceManager,
2226
];
2327

2428
/**

0 commit comments

Comments
 (0)