Hi Kelvin!

On Mi, 03 Mai 2017, Kelvin Lawrence wrote:

> Hi guys, I have a Ruby file that is mostly a large array definition full of 
> data that spans 40,000 lines (please don't judge I inherited this file!).
> 
> It is of this form:
> 
> array = [[1,2,100],
>          [2,3,300],
>             ...
>          [1,2,900]]
> 
> On the Windows version of GVim 8 (also saw this on 7.x too) if I try to 
> insert a new line i<CR> in the middle of that 40,000 line array somewhere Vim 
> takes a very long time to open the newline (well over a minute). If I hit 
> CTRL-C while I am waiting the line opens immediately. If I insert a line 
> outside of this array elsewhere in this same big file I see no slowness at 
> all. Likewise if I press the % key while over the closing bracket at the very 
> end of the array it takes Vim a long time (well over a minute) to jump to the 
> corresponding opening square bracket.
> 
> I see the problem with syntax on and off seems to make no difference/
> 
> I do not see this issue on the MacVim port of Vim.
> 
> I do not see this problem on Linux (Ubuntu) GVim even if I run Ubuntu in a 
> virtual Box on the same Windows machine that shows the problem with the 
> Windows version so I do not think it is an issue of slow hardware or anything 
> like that.
> 
> I would love any ideas you good folks can share.
> 
> I am happy to provide any additional info as needed.

Do you perhaps use a different set of plugins?


Best,
Christian
-- 
Man kann zwar tun, was man will,
aber nicht wollen, was man will.
                -- Albert Einstein

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui