[BUG] the return value from strpart can't add to a list directly.

2010-03-29 Fir de Conversatie c9s
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

Re: [BUG] the return value from strpart can't add to a list directly.

2010-03-29 Fir de Conversatie Jürgen Krämer
Hi, c9s wrote: 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 there is no bug, this script is just missing a closing parenthesis in line 5. Regards, Jürgen -- Sometimes I think the surest

Re: [BUG] the return value from strpart can't add to a list directly.

2010-03-29 Fir de Conversatie kana
On Mon, 29 Mar 2010 15:56:16 +0900, c9s cornelius.h...@gmail.com wrote: http://gist.github.com/347525 ... for file in files cal add(result , strpart(file,strlen(a:path) ) endfor You did just a typo at the line 5. There is no closing paren for add(). -- You received this

colorscheme patch

2010-03-29 Fir de Conversatie Christian Brabandt
Hi, :h todo.txt lists this item: :colorscheme without arguments should echo the current color scheme name. This has bothered me long enough, so I grabbed the source and gave myself a chance to give something back. So here is the patch. regards, Christian -- You received this message

Re: Patch 7.2.025 and periodic execution

2010-03-29 Fir de Conversatie John Little
On Mar 28, 8:42 am, Ingo Karkat sw...@ingo-karkat.de wrote: The mentioned idiom is a difficult to understand hack... I agree. There seems to be a real need for single-deferred and periodic scheduling... I agree. I suspect that this has been avoided because scheduling is what operating