I have just submitted a patch that changes the 'cryptmethod' option from
local to a buffer to global-local.  This makes it possible to set a
default value for new files in your vimrc file.

For global-local options it's necessary to have a value that indicates
the global value needs to be used.  All the other options use an empty
string.

Since the number value was cryptic anyway, I changed the 'cryptmethod'
option to a string, with values "zip" and "blowfish".

This works a lot better, but if you were already using 'cryptmethod' you
will need to switch to the new values:

        0 is now "zip"
        1 is now "blowfish"

-- 
Mental Floss prevents moral decay!

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui