chrisbra / Recover.vim

A Plugin to show a diff, whenever recovering a buffer
http://www.vim.org/scripts/script.php?script_id=3068
247 stars 25 forks source link

Do not set 'bexpr' for unrelated buffers. #9

Closed inkarkat closed 12 years ago

inkarkat commented 12 years ago

Users may have defined their own 'bexpr', and may want to keep that in all other buffers. Use :setlocal instead of :set to set the global-local option only for the on-disk and recovered buffers.

chrisbra commented 12 years ago

thanks!