In the process I fixed suffix detection for patterns with more than 1 character.
DW6SNODMDJN5KUKXDF6HWBUVFG3VN746K6HZZNNQNKFOVWWWHEVAC
KKMFQDR43ZWVCDRHQLWWX3FCWCFA3ZSXYOBRJNPHUQZR2XPKWULAC
{prefix='--[[', target='block_comment'}, -- only single-line for now
{prefix='[[', target='block_string'}, -- only single line for now
block_string={ {suffix=']]', target='normal'}, }, block_comment={ {suffix=']]', target='normal'}, },
block_string={
{suffix=']]', target='normal'},
},
block_comment={
Comments_color = {r=0, g=0, b=1}
Comment_color = {r=0, g=0, b=1}
comment=Comments_color,
comment=Comment_color,
dstring=String_color
dstring=String_color, block_string=String_color, block_comment=Comment_color,
dstring=String_color,
block_string=String_color,
block_comment=Comment_color,
if edge.suffix and rfind(frag, edge.suffix, nil, --[[plain]] true) == #frag then
if edge.suffix and rfind(frag, edge.suffix, nil, --[[plain]] true) == #frag - #edge.suffix + 1 then