Comments (3)
This doesn't seem like a problem with linediff, especially considering that, as you say, the same error happens with the standard vimdiff command.
Execute the command :help E97
to see some information about the error (or check it out online here). It seems like the diff
command can't be called or there are problems with the shell interface.
There are some tips on how to debug the problems in that help section. Try them out and let me know.
from linediff.vim.
Hi,
You are right, issue is not from Linediff. I remove MyDiff from .vimrc file and now it works perfectly. Thanks for your help and your script.
Arnaud.
from linediff.vim.
I encountered the same problem, and the problem is indeed created by the MyDiff
function. Here goes what I have removed. These lines were added for vim-latex-suite.
set diffexpr=MyDiff()
function! MyDiff()
let opt = '-a --binary '
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
let arg1 = v:fname_in
if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif
let arg2 = v:fname_new
if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif
let arg3 = v:fname_out
if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif
let eq = ''
if $VIMRUNTIME =~ ' '
if &sh =~ '\<cmd'
let cmd = '""' . $VIMRUNTIME . '\diff"'
let eq = '"'
else
let cmd = substitute($VIMRUNTIME, ' ', '" ', '') . '\diff"'
endif
else
let cmd = $VIMRUNTIME . '\diff'
endif
silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 . eq
endfunction
from linediff.vim.
Related Issues (20)
- Show LineDiff Automatically in Merge Files HOT 12
- Strange errors on :Linediff HOT 5
- Adding vim-repeat support HOT 2
- Linediff specific diffopts HOT 2
- Doesn't work with different source files. HOT 15
- Add diff screenshot to README HOT 1
- Undo changes HOT 4
- Problem with folds HOT 8
- Improvement: diff multiple blocks HOT 3
- Lineedit command? HOT 2
- Error messages due to backslashes on filepaths HOT 9
- Update the buffers after creation from original file? HOT 3
- Provide keybindings to jump between differences HOT 4
- Don't work in MacVim (GUI) HOT 3
- What OSS license is this governed by? HOT 2
- Vim patch 9.0.907 causes E1312 when temporary buffers are closed HOT 3
- Adjusting cursor position when diff starts HOT 2
- diff tab remains open after LinediffReset HOT 2
- How to set vertical split for "diff tab" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linediff.vim.