> It cannot work reliable with redir. > Think of options with possible trailing whitespace, like > 'listchars', 'showbreak', 'breakat', etc. > There is no backslash for escaping in the output.
I see your point. I've changed the script to only parse the option names (much easier to do). The option value is now set via "&option". See the attached script. Cheers, David --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
temp.vim
Description: temp.vim