Re: Slow Python syntax highlighting

2016-10-03 Thread François Ingelrest
Hi Christian, On 3 October 2016 at 10:30, Christian Brabandt wrote: > I haven't checked yet, but could that possibly be a duplicate of > https://github.com/vim/vim/issues/1098 > > Are you using python indent plugin and does it work better, if you > disable the indent plugin? Yes indenting is enab

Re: Slow Python syntax highlighting

2016-10-03 Thread Christian Brabandt
Hi François! On Mo, 03 Okt 2016, François Ingelrest wrote: > On 2 October 2016 at 22:29, Dominique Pellé wrote: > > Can you also try to measure it automatically as I did? Just to make > > sure that what I measure is what you also observe. > > This is what I got with line 85 (the slow one): > >

Re: Slow Python syntax highlighting

2016-10-02 Thread François Ingelrest
On 2 October 2016 at 22:29, Dominique Pellé wrote: > Can you also try to measure it automatically as I did? Just to make > sure that what I measure is what you also observe. This is what I got with line 85 (the slow one): % time vim -u ./vimrc --noplugin +85 -c 'norm! o' -c 'q!' foo.py 0.17s use

Re: Slow Python syntax highlighting

2016-10-02 Thread Dominique Pellé
François Ingelrest wrote: > Hi Dominique, > > On 1 October 2016 at 09:46, Dominique Pellé wrote: >> Can you provide a file where it happens and a minimalistic >> vimrc, just enough to reproduce it? > > Here's what I came up with. > > If I type o to open a new line: > - On line 87, it's instantane

Re: Slow Python syntax highlighting

2016-10-02 Thread François Ingelrest
Hi Dominique, On 1 October 2016 at 09:46, Dominique Pellé wrote: > Can you provide a file where it happens and a minimalistic > vimrc, just enough to reproduce it? Here's what I came up with. If I type o to open a new line: - On line 87, it's instantaneous - On line 85, there's a noticeable la

Re: Slow Python syntax highlighting

2016-10-01 Thread Dominique Pellé
François Ingelrest wrote: > Hi all, > > I'm not sure when this started, but for some Python files there's a > noticeable lag due to syntax highlighting. > > For example, using O to open a new line can take up to a few hundreds > of ms at some places of the file while it's instantaneous at some >

Slow Python syntax highlighting

2016-09-30 Thread François Ingelrest
Hi all, I'm not sure when this started, but for some Python files there's a noticeable lag due to syntax highlighting. For example, using O to open a new line can take up to a few hundreds of ms at some places of the file while it's instantaneous at some other places of the same file. I say it's