On Mon, Feb 9, 2009 at 2:39 AM, Gary Johnson wrote:

> On 2009-02-09, Matt Wozniski wrote:
>
>> There's no easy way to get all options, afaik.
>
>    :set all

I meant from vimscript.  Sure, between  :set all  and  :set termcap
you can get a list of all the options, and with :redir you can get
that into a string, but parsing that string would be incredibly
difficult without knowing all of the option names ahead of time - and,
if you knew that, you could just query them each directly.

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui