Skip to content

Commit 1e00602

Browse files
alexr00CommanderPho
authored andcommitted
Also include jsonc in chat context provider (microsoft#1266)
1 parent e14dec8 commit 1e00602

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chat-context-sample/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function activate(context: vscode.ExtensionContext) {
3434

3535
// Register with a document selector for JSON files
3636
const disposable = vscode.chat.registerChatContextProvider(
37-
{ language: 'json' },
37+
[{ language: 'json' }, { language: 'jsonc' }],
3838
PROVIDER_ID,
3939
provider
4040
);

0 commit comments

Comments
 (0)