I've attached a small image as that was the easiest way to convey this
syntax issue.

The line causing the issue is:

177                 set ts \[clock format \[clock seconds]\
178                         -format {%Y-%m-%d %H:%M:%S} -gmt 1]

There are 2 ways to modify the file that maintains TCL semantics and
gets the highlighter to work past this block.

1) Wrap the $ts command expansion in double quotes.
177                 set ts "\[clock format \[clock seconds]\
178                         -format {%Y-%m-%d %H:%M:%S} -gmt 1]"

1) Balance the escape '\' when terminating command expansions, I
usually don't do this since the TCL interpreter allows it but I
prabably should for consitency.
177                 set ts \[clock format \[clock seconds\]\
178                         -format {%Y-%m-%d %H:%M:%S} -gmt 1\]


Since there is a work around and I don't believe this is an easy fix
there's really no reason to tackle it... I just figured I'd throw it out
there.

Wayne
_______________________________________________
vile mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/vile

Reply via email to