Mercurial > vim
diff runtime/doc/diff.txt @ 6583:b0a227941705
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 03 Feb 2015 19:13:34 +0100 |
parents | 4abac79c0b7a |
children | 2def7b25de60 |
line wrap: on
line diff
--- a/runtime/doc/diff.txt +++ b/runtime/doc/diff.txt @@ -1,4 +1,4 @@ -*diff.txt* For Vim version 7.4. Last change: 2014 Oct 31 +*diff.txt* For Vim version 7.4. Last change: 2015 Feb 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -314,6 +314,19 @@ 5. Diff options *diff-options* Also see |'diffopt'| and the "diff" item of |'fillchars'|. + *diff-slow* *diff_translations* +For very long lines, the diff syntax highlighting might be slow, especially +since it tries to match all different kind of localisations. To disable +localisations and speed up the syntax highlighting, set the global variable +g:diff_translations to zero: > + + let g:diff_translations = 0 +< +After setting this variable, Reload the syntax script: > + + set syntax=diff +< + FINDING THE DIFFERENCES *diff-diffexpr*