ATL-1136: Add .adoc and .md file support

This commit is contained in:
Francesco Stasi 2021-03-24 11:38:36 +01:00 committed by Francesco Stasi
parent 562b77aec3
commit b17b7a6de7

View File

@ -87,7 +87,7 @@ export namespace Sketch {
export namespace Extensions {
export const MAIN = ['.ino', '.pde'];
export const SOURCE = ['.c', '.cpp', '.s'];
export const ADDITIONAL = ['.h', '.c', '.hpp', '.hh', '.cpp', '.s', '.json'];
export const ADDITIONAL = ['.h', '.c', '.hpp', '.hh', '.cpp', '.S', '.json', '.md', '.adoc'];
export const ALL = Array.from(new Set([...MAIN, ...SOURCE, ...ADDITIONAL]));
}
export function isInSketch(uri: string | URI, sketch: Sketch): boolean {