Doug, I'd like to bring Issue 282¹ from the Vim bug tracker to your attention. There has been a patch to the ruby syntax file file been posted. Could you please review the change? In any case, you might want to check the syntax file against the sample ruby file provided so that it tries to avoid the most expensive patterns.
Please check the help at :h syntime for getting a report about the most expensive patterns and :h /\@< for how to restrict the pattern assertions to a couple of bytes. Also for some patterns, you might want to switch to the old engine if it provides a reasonable performance win (:h /\%#=) Note, that since patch 7.4.497 Vim tries to be clever and might automatically switch to the old engine for certain kinds of patterns, which means, it might work better starting from that patch. If you approve the change would you mind sending an updated ruby syntax file file for inclusion with Vim to Bram? Thanks. Best, Christian ¹) https://code.google.com/p/vim/issues/detail?id=282 -- -- 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.
