diff --git a/src/providers/miseTomlCodeLensProvider.ts b/src/providers/miseTomlCodeLensProvider.ts index 16ac938..fd217f8 100644 --- a/src/providers/miseTomlCodeLensProvider.ts +++ b/src/providers/miseTomlCodeLensProvider.ts @@ -224,7 +224,7 @@ export class MiseTomlCodeLensProvider implements vscode.CodeLensProvider { } const isMiseTomlFile = - document.fileName.endsWith("mise.toml") || + /mise\.[^.]*\.?toml$/.test(document.fileName) || document.fileName.endsWith("config.toml"); if (isMiseTomlFile) {