In my vimrc I have this line :
call matchadd('ColorColumn', '\%81v', 100)
It colors the 81th column in a subtle grey background so I can track my line length :
l and the
I found out that when editing a large file, this function causes Vim to be very slow.
One of the file I am currently working on is a
jsp file with a lot of mistakes in the indentation/syntax.
I also tried with a custom vimrc :
.vimrc-test call matchadd('ColorColumn', '\%81v', 100)
And launching vim with
vim -u .vimrc-test -N my-file.jsp it reproduce the same.
I am on MacVim 7.4.383 on Yosemity.
Do you know anything related to this issue ?