Add protection around the current_syntax storing

Experienced an error with `b:current_syntax` not being set when I opened a Markdown file.  Seems to be caused by how the environment is when the less syntax is inherited.  This just adds guards for the variable not being set.  Does not effect highlighting in less files.