\starttext
\usemodule [vim]
\definevimtyping [C]
[syntax=c,numbering=on]
\startvimcolorscheme [default]
\definevimsyntax [Type] [style=boldmono]
\definevimsyntax [PreProc] [style=slantedmono]
\stopvimcolorscheme
\startC
#include <stdio.h>
#include <stdlib.h>
void main() {
printf("Hello World\n");
return;
}
\stopC
\stoptext
! I can't find file `texweb-vimsyntax.tmp-vimsyntax.tmp'.
<to be read again>
Looks like the filename munging has some issues.
Also, when I manually type in the correct file name, I then get further errors which seem to indicate the source code is not within a literal environment:
! You can't use `macro parameter character #' in horizontal mode.
l.1 #
include <stdio.h>
I have vim installed and accessible on the path, and do have the C syntax.
I'm not TeXpert enough to troubleshoot the actual source, does anyone know what might cause this behavior?
Thanks,
Adam