The metadata update gets triggered way too many times due to the `onDidChangeTextEditorSelection` listener.