On Mon, Apr 1, 2013 at 11:16 AM, Lech Lorens <[email protected]> wrote:
> People using ctags while working on code which is edited by multiple > people in various editors will be familiar with this situation: the code > ends up with a mix of line endings – some of them are Unix-style, some > of them are DOS-style. > > The problem is that if Vim reads such a file with ff=unix, it will fail > to find tags if the tag pattern searched should match on a DOS-style > line. The attached patch handles the problem in a naïve but surprisingly > effective way: if a pattern search fails, Vim will try putting "\r\*" > before the last "$" in the pattern and will retry the search. > > I haven't looked at the patch, but what is the behaviour when fileformats=unix,dos,mac Does it exhibit the same behaviour? I would think this patch should alter it's behaviour based on the values in this setting. My $0.02 David -- -- 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/groups/opt_out.
