gu-fan / clickable.vim

Make things clickable
39 stars 2 forks source link

clickable makes vim slow when editing html files or templates #5

Open diefans opened 9 years ago

diefans commented 9 years ago

I am experiencing heavy performance issues of vim when editing html templates, e.g. moving the cursor around:

I see tons of

brk(0x299c000)                          = 0x299c000
brk(0x29cb000)                          = 0x29cb000
brk(0x296e000)                          = 0x296e000
brk(0x299c000)                          = 0x299c000
brk(0x29cb000)                          = 0x29cb000
brk(0x296e000)                          = 0x296e000
brk(0x299c000)                          = 0x299c000
brk(0x29cb000)                          = 0x29cb000
brk(0x296e000)                          = 0x296e000
brk(0x299c000)                          = 0x299c000
brk(0x29cb000)                          = 0x29cb000
brk(0x296e000)                          = 0x296e000

also see https://github.com/xolox/vim-easytags/issues/30 where the same issues are in place.

I am using Vim 7.4

gu-fan commented 9 years ago

Yes, the clickable have add additional syntax settings to files. also it's binding CURSORMOVED events.

I will try to improve the performance.