On 23-Jun-08 14:46, Ron wrote:
> When 'sessionoptions' contains 'globals', a regular variable, say
> "Font", gets saved fine.  But something like "Globals.font" does not.

I think this is by design; :help 'sessionoptions' mentions:
           globals      global variables that start with an uppercase letter
                        and contain at least one lowercase letter.  *Only
                        String and Number types* are stored.
A Dictionary is a different type, not a String or Number. This limitation is 
probably due to the fact that it's non-trivial to persist complex structures 
(like Dictionaries) to a file.

-- cheers, ingo

/^-- Ingo Karkat -- /^-- /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ --

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

Raspunde prin e-mail lui