Anton Lindqvist wrote:
> Updated patch attach which adds support for skipping strings and
> characters that include the identifier. With the patch applied, pressing
> gd in the example below would end up on line 4 as opposed of line 3:
>
> int func(void)
> {
> char *s = "x"; // line #3
> int x = 1; // line #4
>
> return x;
> ^
> |
> cursor
> }
>
> While at it, I added a few more tests to cover this new behavior.
Thanks. I made a small change to avoid a quote in a comment to cause
problems. That only applies when 'comments' doesn't apply though.
--
When I look deep into your eyes, I see JPEG artifacts.
I can tell by the pixels that we're wrong for each other. (xkcd)
/// 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.