diff --git a/src/extension.ts b/src/extension.ts index f172110..d64691c 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -143,12 +143,15 @@ export async function startClient( const clientOptions: LanguageClientOptions = { documentSelector: [ { scheme: "file", language: "codecov" }, + { pattern: "**/.codecov.yml" }, { pattern: "**/codecov.yml" }, { pattern: "**/codecov.yaml" }, ], synchronize: { configurationSection: "codecov", fileEvents: [ + workspace.createFileSystemWatcher("**/.codecov.yml"), + workspace.createFileSystemWatcher(".codecov.yml"), workspace.createFileSystemWatcher("**/codecov.yml"), workspace.createFileSystemWatcher("codecov.yml"), workspace.createFileSystemWatcher("**/codecov.yaml"),