Add protection around the current_syntax storing

This was blowing up when opening markdown, seems to be an issue with the nested
syntax highlighting for markdown->HTML->LESS.  Behavior doesn't change with
LESS files.