diff --git a/CHANGELOG.md b/CHANGELOG.md index b34d2fbd..24896172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Removed the chatbot command and all related code and references - [#983](https://github.com/estruyf/vscode-front-matter/issues/983): Removal of the `frontMatter.sponsors.ai.enabled` features +- [#1006](https://github.com/estruyf/vscode-front-matter/issues/1006): Fix output channel colorizer schema to only apply to the Front Matter output channel ### 🎨 Enhancements diff --git a/package.json b/package.json index 3c57897b..722f46f4 100644 --- a/package.json +++ b/package.json @@ -2789,10 +2789,7 @@ }, "languages": [ { - "id": "frontmatter.project.output", - "mimetypes": [ - "text/x-code-output" - ] + "id": "frontmatter.project.output" } ], "grammars": [ diff --git a/src/helpers/Logger.ts b/src/helpers/Logger.ts index 9cfeac8a..998c9eb9 100644 --- a/src/helpers/Logger.ts +++ b/src/helpers/Logger.ts @@ -12,7 +12,7 @@ export class Logger { private constructor() { const displayName = Extension.getInstance().displayName; - Logger.channel = window.createOutputChannel(displayName); + Logger.channel = window.createOutputChannel(displayName, 'frontmatter.project.output'); commands.registerCommand(COMMAND_NAME.showOutputChannel, () => { Logger.channel?.show(); });