fix potential performance problems with completeopt+=preview