:diffoff! works with version 7 but does not exist in version 6.
Currently I do this:
function! DiffOff()
if v:version < 700
windo set nodiff foldcolumn=0 noscrollbind nowrap scrollopt-=hor
else
diffoff!
endif
close
endf
Is there a way to specifically check for the existence of :diffoff! ?
And is this function sufficient?
Bill
--
You received this message from the "vim_use" 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
No comments:
Post a Comment