ap/vim-css-color — Issue #11: Severe slowness in .html files after switching buffers
Author: georgecalm
Created: 2012-02-25 22:40:05+00:00
State: open

The css-color plugin significantly slows down opening buffers with .html files.

Repro:
Open a 200K .html file in one buffer 1, and open a plain-text file in buffer 2. Now, do the following: ":b1, :b2, :b1, :b2, :b1, :b2, ...". The more you switch between the buffers, the slower opening the html file in :b1 becomes. Switching just 10 times, adds a 15sec latency on my MacBook Pro 2.53Ghz 8GB. Disabling the css-color plugin resolves the issue.

This with a fresh VIM (Vi IMproved 7.3 (2010 Aug 15, compiled Jun 24 2011 20:00:09)) with no other plugins running.