What about a macro like the following?
//
// SETSYNCOLORS.VDM Christian Ziemski 19.04.2006
//
// Sets the (global) syntax color configuration dependent of the
// current loaded syntax file (if any).
//
// Set up:
//
// Place at least the folowing 8 Config() lines with colors of your choice
// into files with the same name as the corresponding syntax file, but
// with extension .SYC (from SYntax Colors).
// For example the existing VEDIT.SYN gets a companion file VEDIT.SYC now.
//
// Config( C_W_RESERVE_W1, "Color for reserved words 1", 121 )
// Config( C_W_RESERVE_W2, "Color for reserved words 2", 124 )
// Config( C_W_RESERVE_W3, "Color for reserved words 3", 118 )
// Config( C_W_RESERVE_W4, "Color for reserved words 4", 125 )
// Config( C_W_SYMBOL, "Color for symbols", 121 )
// Config( C_W_COMMENT, "Color for comments", 121 )
// Config( C_W_STRING, "Color for strings", 124 )
// Config( C_W_NUMBER, "Color for numeric", 31 )
//
// Usage:
//
// Call this macro via {Misc, Load/exec user macro}
// or assign it to a key
// or put it into the Buffer_Switch_Event_Macro register 114
//
//-----------------------------------------------------------------------------
Reg_Push(103,104)
Num_Push(103,103)
Reg_Set(103, SYN_NAME)
#103=Reg_Size(103)
if (#103 > 0) {
Out_Reg(104)
Reg_Type_Block(103, 0, #103-3)
Out_Reg(CLEAR)
Reg_Set(104, "SYC", APPEND)
if (File_Exist("|(HOME)\|@(104)")) {
Call_File(103, "|(HOME)\|@(104)")
}
}
Num_Pop(103,103)
Reg_Pop(103,104)
Update
Christian