fix bug in path dot syntax highlighter