don't run update buffer command when completion window is open (happens when writing docs to preview buffer