Closed GoogleCodeExporter closed 9 years ago
> Apart from that, I think it might be a good idea to just use "LANGUAGE=C diff"
(or something similar to get the non-translated messages) to get the diff.
Scratch that.
Original comment by dhahler@gmail.com
on 6 Jan 2015 at 7:18
Try the latest runtime update
(https://code.google.com/p/vim/source/detail?r=11d78e58a487471e13ecb5223b75249cd
7e949d5) I think, that provides a fix for matching translates diff files. (see
:h diff.vim)
Original comment by chrisbr...@googlemail.com
on 8 Jan 2015 at 11:23
please confirm, that the runtime file update fixes the issue.
Original comment by chrisbr...@googlemail.com
on 8 Jan 2015 at 11:23
Thanks. It provides a good default, but does not fix the real issue, especially
given that it's still enabled by default.
Could the regexp engine get improved to consider the anchoring at the end ("$")?
For reference: the patch is
https://code.google.com/p/vim/source/diff?spec=svn11d78e58a487471e13ecb5223b7524
9cd7e949d5&r=11d78e58a487471e13ecb5223b75249cd7e949d5&format=side&path=/runtime/
syntax/diff.vim.
Original comment by dhahler@gmail.com
on 9 Jan 2015 at 10:51
I checked again. While I do not think, it is feasible to cache the win_line()
function (that function is huge and one would have to cache many options as the
line drawing depends on them and this will likely introduce regressions) I
found that especially the hebrew localization makes Vim slow. Vim already skips
back to the old engine automatically because of the slow regular expressions
for the hebrew localization.
So here is a patch, documenting the g:diff_localization issue (which isn't yet,
I think) and also applies the hebrew syntax highlighting only if some hebrew
chars are actually found. Using that patch, this makes Vim at least react
(though the other localization still make Vim very slow as seen by :syntime
report but you disableing the localization entirely makes Vim then usable again
Original comment by chrisbr...@googlemail.com
on 27 Jan 2015 at 7:06
Attachments:
I have included Christian's change. Please check once the runtime files have
been updated. I'll close this issue for now.
Original comment by brammool...@gmail.com
on 3 Feb 2015 at 5:47
Original issue reported on code.google.com by
dhahler@gmail.com
on 6 Jan 2015 at 7:01