Only reparse current file if the buffer changes