in emacs the didChangeConfiguration happens after the didFileOpen, so we should flush the old diagnostics and recompute when this happens.