ca5db5e5a224919c6901d77b110b4a19f8a1622f
[profile.git] / .vim / plugin / recover.vim
1 " Vim plugin for diffing when swap file was found
2 " Last Change: Wed, 14 Aug 2013 22:39:13 +0200
3 " Version: 0.18
4 " Author: Christian Brabandt <cb@256bit.org>
5 " Script:  http://www.vim.org/scripts/script.php?script_id=3068 
6 " License: VIM License
7 " GetLatestVimScripts: 3068 17 :AutoInstall: recover.vim
8 " Documentation: see :h recoverPlugin.txt
9
10 " ---------------------------------------------------------------------
11 " Load Once: {{{1
12 if version < 702
13   finish
14 endif
15 if exists("g:loaded_recover") || &cp
16   finish
17 endif
18 let g:loaded_recover = 1"}}}
19 let s:keepcpo          = &cpo
20 set cpo&vim
21
22 " ---------------------------------------------------------------------
23 " Public Interface {{{1
24 " Define User-Commands and Autocommand "{{{
25 call recover#Recover(1)
26
27 com! RecoverPluginEnable :call recover#Recover(1)
28 com! RecoverPluginDisable :call recover#Recover(0)
29 com! RecoverPluginHelp   :call recover#Help()
30
31 " =====================================================================
32 " Restoration And Modelines: {{{1
33 let &cpo= s:keepcpo
34 unlet s:keepcpo
35
36 " Modeline {{{1
37 " vim: fdm=marker sw=2 sts=2 ts=8 fdl=0