Fix toggling syntax highlighting on partial file

We cannot reuse the cached script data if we don't have the full
file and the user has asked us for syntax highlighting.  Instead
discard and get the full script.

Change-Id: I358ee938b12253ea9a14e9144844574778eb4978
Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed