Hirohito Higashi wrote:

> 2015-11-6(Fri) 19:55:44 UTC+9 h_east:
> > Hi Christian!
> > 
> > 2015-11-6(Fri) 17:28:03 UTC+9 Christian Brabandt:
> > > Bram,
> > > here is another one (possibly).
> > > 
> > > https://github.com/neovim/neovim/pull/3614
> > > 
> > > Not sure, if this is correct, I ported it to vim, but it didn't seem to 
> > > have any effect.
> > > 
> > > If anybody has a test case1, that works, I'd like to hear so I can port 
> > > it to vim and add a test.
> > > 
> > > 1) I tried with the example provided in the pull request, but it didn't 
> > > seem to work. Perhaps I missed something.
> > 
> > I will investigate it from back home tonight.
> > (Now Japan time is about 20:00)
> 
> I got it yeah!
> I attached a patch with test.
> Please include this.

This solution is different from the original patch.  It only checks if
there is a colon at the start.  I guess the original patch is more
generic.  But it requires more test cases to find out.

C++ syntax is just weird...


-- 
>From "know your smileys":
 <>:-)  Bishop

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui