mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
enable markdown language server for prompt files (#252656)
This commit is contained in:
committed by
GitHub
parent
b9558f6405
commit
25a8dd4f0b
@@ -19,8 +19,10 @@ export const markdownFileExtensions = Object.freeze<string[]>([
|
||||
'workbook',
|
||||
]);
|
||||
|
||||
export const markdownLanguageIds = ['markdown', 'prompt', 'instructions', 'chatmode'];
|
||||
|
||||
export function isMarkdownFile(document: vscode.TextDocument) {
|
||||
return document.languageId === 'markdown';
|
||||
return markdownLanguageIds.indexOf(document.languageId) !== -1;
|
||||
}
|
||||
|
||||
export function looksLikeMarkdownPath(resolvedHrefPath: vscode.Uri): boolean {
|
||||
|
||||
Reference in New Issue
Block a user