This commit is contained in:
Alessandro Mauri 2023-12-24 23:34:53 +01:00
parent 42367c8b5d
commit 9e25a86916
Signed by: alema
GPG Key ID: 2B7BF9531FF03BE8

View File

@ -78,6 +78,7 @@ export function activate(context: vscode.ExtensionContext) {
// TODO: prune text up to a maximum context length
// Prefix the filename in a comment
// TODO: add a config for this
let pfx: string, sfx: string;
const fname = document.fileName.split('/').at(-1);
const lang = document.languageId;