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
" Disable spell checking, displaying of list characters and long lines when
" viewing documentation.
autocmd BufReadPost /usr/share/doc/* setlocal nospell nolist | 2match
-
-" Use diff filetype for mercurial patches in patch queue.
- autocmd BufReadPost */.hg/patches/* set filetype=diff
-
augroup END
endif