Igor Forca wrote:

> Christian, Tony,
> if I understand correctly there are actually two problems. First like I have 
> described and second one is that internal diff should be used starting 
> v8.1_0360.
> 
> I did the following:
> a) I started gVim:
>    c:\Programs\Vim\vim81>c:\programs\vim\vim81\gvim -u NONE
> 
> b) Checked which scripts are loaded at startup:
> :scriptnames
> and the output is:
> 1: c:\programs\vim\vim81\menu.vim
> 2: c:\programs\vim\vim81\lang\menu_sl_si.cp1250.vim
> 3: c:\programs\vim\vim81\autoload\paste.vim
> 
> This is fine, my _vimrc file was not loaded, just
> pure vim files.
> 
> c) Checked what is default diffopt value:
> :set diffopt?
> and output is:
> diffopt=internal,filler
> 
> d) Executing commands:
> :cd c:\aaa
> :e a.txt
> :vert diffsp b.txt
> 
> and I am getting the "E959: Invalid diff format".

Try doing this here:
        :verbose set diffopt?

Probably an autocommand for ".txt" changes 'diffopt'.
Also try:
        :20verbose diffupdate

> e) Executing:
> :set diffopt+=internal
> pressing enter and diff is working correctly!!!
> 
> f) Rechecking diffopt
> :set diffopt?
> and output is:
> diffopt=internal,filler
> 
> g) Just in case checking diffexpr
> :set diffexpr?
> and output is:
> diffexpr=

-- 
The users that I support would double-click on a landmine to find out
what happens.                           -- A system administrator

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui