> Thanks!  I'm also wishing for better luck. :-)

For lack of luck, below is a patch to fix the bug.

The problem is caused by the fact that the syncing processes the line
til the end, so the second call to sync_finish_line() refuses to
process it again (current_finished == TRUE).

Sorry for the trouble.

--- syntax.c    2011-01-26 20:08:25.620861002 -0200
+++ syntax.c.orig       2011-01-26 20:07:44.710861007 -0200
@@ -927,8 +927,6 @@
                        update_si_end(cur_si, (int)current_col, TRUE);
                        check_keepend();
                    }
-                   // Must restart the line to process highlighting now.
-                   syn_start_line();
                    current_col = found_m_endpos.col;
                    current_lnum = found_m_endpos.lnum;
                    (void)syn_finish_line(FALSE);



-- 
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter

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