On 2011-01-27 18:27, Andrej Mitrovic wrote:
On 1/27/11, Jacob Carlborg<d...@me.com> wrote:
I would guess it takes 10 seconds because it processes the file as a
whole. I would guess vim doesn't do that, but I don't know.
I haven't thought of that! Actually Vim's syntax highlighting
'algorithm' is customizable. You can set it up to try highlighting the
entire file, or it can do some magic and scan backwards N lines to
figure out how to highlight the entire screen. Afaik the D syntax
highlighting script doesn't scan the entire file at once, which
probably explains the speed. :)
Hehe, is it anything in Vim that isn't customizable.
--
/Jacob Carlborg