You can try vim module.
It supports all the formats that vim is able to support and it is a builtin
module.
\usemodule[t-vim]
\definevimtyping [TEX] [syntax=context]
\definevimtyping [XML] [syntax=xml]
\definevimtyping [LUA] [syntax=lua]
\starttext
\startTEXpage[offset=2em]
a \TEX\ inline
I don’t know if I use it wrongly, or it’s a bug in ConTeXt, but use \setuplist
with numbercommand renders wrongly
% this is not working, ``chapter’’ and chapter name overlapped
\define[2]\ChapterNumber{chapter #1: #2}
% have to add extra spaces here to avoid overlapping
% \define[2]\ChapterNu