Skip to content
Source
Sign inSign up

assemblyHighlighting.ts

6 lines276 Bytes

1import { setCustomExtension } from "@pierre/diffs/utils/getFiletypeFromFileName";
2​
3// The default .s mapping is riscv, which the Highlights backend does not support.
4for (const extension of ["asm", "ASM", "s", "S", "nasm", "NASM"]) {
5 setCustomExtension(extension, "asm");
6}