Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
packages
/
client-runtime
/
src
/
assemblyHighlighting.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
6 lines
276 Bytes
Copy permalink
Copy
Raw
1
import
{
setCustomExtension
}
from
"
@pierre/diffs/utils/getFiletypeFromFileName
"
;
2
3
// The default .s mapping is riscv, which the Highlights backend does not support.
4
for
(
const
extension
of
[
"
asm
"
,
"
ASM
"
,
"
s
"
,
"
S
"
,
"
nasm
"
,
"
NASM
"
])
{
5
setCustomExtension
(
extension
,
"
asm
"
);
6
}