Hi Frederic!

On Do, 27 Mai 2010, Frederic Hardy wrote:

> Thanks for your help, Christian !
> But i don't know where is the problem in my syntax file...

It is the syntax sync fromstart

This makes it really slow and it seems, vim needs to start parsing from 
the start of the file several times.

Try syntax sync minlines=50 or have a look at :h syn-sync for other 
methods. I figure, you know your syntax file best, so you should figure 
out, what would work best in your case.

> I have no problem with it before patch 274.

I don't know and I haven't looked at that particular patch. I don't even 
know how to find out, what this patch does wrong.

> And i have no problem with default php syntax file after patch 274, but  
> my custom file is very different, so default syntax file is not relevant  
> to find the problem in my custom syntax file :/.

regards,
Christian
-- 
Reporter fragt Passanten: "Was ist das Problem der heutigen Gesellschaft -
mangelndes Wissen oder mangelnde Interesse?"
Antwort: "Weiß ich nicht und das ist mir auch egal!" 

-- 
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

Raspunde prin e-mail lui