The :checkpath! command reports random strings if the 'include' option
is set to a value containing "\zs" and "\ze".
The attached file checkpath-problem.tar.gz includes a couple of files
which allow the problem to show. Just enter the checkpath-problem
directory and run "vim -S ./do.vim". The last reported file name will
be "Its 5 50 Do you know where your pointer is" instead of "foo.h",
which is a comment following the «#include "foo.h"» preprocessor
statement directive in foo/bar/baz.h. If there was no comment, a
random string would be printed.

checkpath.patch contains a patch fixing the problem.

Cheers,
Lech

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

Attachment: checkpath-problem.tar.gz
Description: GNU Zip compressed data

Attachment: checkpath.patch
Description: Binary data

Raspunde prin e-mail lui