Hi Thilo!
On So, 03 Jun 2012, Thilo Six wrote:
> :if globpath(&rtp, 'colors/desert.vim') | echo "yes" | else | echo "no" | endif
> no
Yeah, it returns several matches. Better would be:
:if len(globpath(&rtp, 'colors/desert.vim')) | echo "yes" | else | echo "no" | endif
yes
regards,
Christian
--
You received this message from the "vim_use" 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
Sunday, June 3, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment