Hi , i found a bug:

the return value from strpart can't add to a list directly or can't
used in a map function.

http://gist.github.com/347525

but if i use this way:

let subpath = strpart(file,strlen(a:path))
cal add(result , subpath )

" this works


my vim version:

% vim --version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Mar 26 2010 16:26:04)
MacOS X (unix) version
Included patches: 1-402

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

To unsubscribe from this group, send email to 
vim_dev+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Raspunde prin e-mail lui