title: Syntax highlighting causes terrible lag in Vim
body: <p>I love Vim. But its giving me hard times right now.</p>
  
  <p>I use a lot of plugins and during the last 6 months, I've found a lot of awesome ones. But my Vim got really sluggish too. I do constant cleanups, but it doesn't help much.</p>
  
  <p>I'm at the point, where Vim is completely unusable. It feels like it renders at 2-5 frames per second, switching tabs/buffers takes about a second, scrolling with <code>hjkl</code> is awfully terrible, the lag is so bad, even typing a sentence in insert mode is confusing (due to lag). </p>
  
  <p><em>Edit: Actually, when I open fresh instance of Vim its OK-ish, but than within 15 minutes it becomes unusable.</em></p>
  
  <p>I've just spent 4 hours trying to figure out which plugin or config is causing the pain. I was unsuccessful.</p>
  
  <p>However, I did find out, that removal of this setting causes all the lag to go away:
  <code>syntax on</code></p>
  
  <p>These 3 lines in conjunction with syntax make everything even worse.</p>
  
  <pre><code>set t_Co=256
  set background=dark
  colorscheme candyman
  </code></pre>
  
  <p>Interesting. So, syntax highlighting is turning Vim from super snappy to incredibly sluggish?</p>
  
  <p>I tried enabling syntax in "clean" mode:
  <code>vim -u NONE</code></p>
  
  <p>And its not an issue there.</p>
  
  <p>So what seems to be the issue is Syntax Highlighting in combination with one or more of my plugins. I tried disabling bunch, no luck.</p>
  
  <p>Is there any way to do profiling? I'm fairly exhausted from manual testing.</p>
  
  <p>Has anyone had similar experience? Maybe take a quick peek into my <code>.vimrc</code>, see if anything rings a bell.
  <a href="https://bitbucket.org/furion/dotfiles" rel="noreferrer">https://bitbucket.org/furion/dotfiles</a></p>
  
  <p><strong>SOLUTION:</strong>
  The plugin causing the mess was:</p>
  
  <pre><code>Bundle "gorodinskiy/vim-coloresque.git"
  </code></pre>
  
  <p>I recommend reading the answers tho, good insights.</p>
  
  <p><strong>Edit (1 month later):</strong> The coloresque plugin has seen some improvements.</p>