Am 2015-01-28 15:35, schrieb Brook Hong:
I want to get a list of all installed color schemes when I am trying
to change color scheme automatically.
The function returns a list of all color schemes
Patch attached.
Well, thanks for contributing. But...
You could simply use :echo globpath(&rtp, "colors/*.vim")
Recent Vims even can provide a list natively, whithout needing to
split() the
returned string, e.g. echo globpath(&rtp, "colors/*.vim", 1,1)
Best,
Christian
--
--
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/d/optout.