On 11/08/10 15:40, KF Leong wrote:
On Aug 11, 6:39 pm, Lech Lorens<[email protected]> wrote:
Here's what I get:http://llorens.visualserver.org/c-vim-problem/c.png
BTW I am sure that what you claim is happening actually used to
happen. I think it was me who suggested to Bram that the cDefine
region should have a "keepend" attribute.
But he removed the
end="//"ms=s-1
in the November syntax script, as compare to earlier version.
But neither of the versions you are comparing should exhibit the wrong
behaviour.
Are you 100% sure that your Vim is using the syntax script from November?
Yes, 100% positive! I've installed the Vim 7.3e of Cream version the
day before. I've seen the effects before in the Vim 7.2.446 Cream
build and maybe earlier, just not paying attention to it then.
I have modified the c.vim syntax script and add back the
end="//"ms=s-1 as per the diff posted, I get the result correctly.
I've tested using
gvim -u NONE -U NONE
and enable syntax highlight& use the Zenburn color scheme with
unmodified and modified c.vim syntax file& can confirm the behavior.
Regards,
KF
You should NEVER modify-in-place anything in $VIMRUNTIME or in any of
its subdirectories at any depth, because any update (tomorrow, next
week, next year...) may remove your files without telling you, and
someday one of them is bound to do it, and by then you'll have forgotten
how to fix it.
If an after-plugin (something at the same relative location in
~/.vim/after/ or below on Unix/Linux, or in ~/vimfiles/after/ or below
on Dos/Windows, see ":help after-directory") doesn't clinch it, then
make a copy of the full script in a "before" subdirectory (same as
before but without ...after/ in the path) and modify that. It will be
sourced before the one below $VIMRUNTIME, setting the flag which will
make the latter script do nothing; and since it is not below
$VIMRUNTIME, it will not get lost when the Vim version changes, and it
will not be overwritten by any upgrade.
Best regards,
Tony.
--
"Now is the time for all good men to come to."
-- Walt Kelly
--
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