X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=vim%2Fvimrc;fp=vim%2Fvimrc;h=bb7ac1e3f59b81979ab9d9905e5a3530062496e1;hp=84768422aa07d5ad0f2492b782d26e5ae8c6d5f9;hb=3bf45b718764886c0145179534536f91c5e6df5b;hpb=ff40bda110142568d1ad67928882a23bf1ce0a80 diff --git a/vim/vimrc b/vim/vimrc index 8476842..bb7ac1e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -136,9 +136,13 @@ if has('viminfo') set viminfo^='1000 endif -" Use strong encryption if possible, also used for swap/undo files. +" Use strong(er) encryption if possible, also used for swap/undo files. if exists('+cryptmethod') - set cryptmethod=blowfish + if s:HasVersionAndPatch(704, 399) + set cryptmethod=blowfish2 + else + set cryptmethod=blowfish + endif endif " Clear all vimrc-related autocmds. Has to be done here as the vimrc augroup