diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-12-17 04:54:40 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-12-17 05:14:40 -0500 |
commit | cb0b89f8bad0a6c2b05940d7ed55d0970f823926 (patch) | |
tree | b817949807a29f36f66b2f1f642688a2e88d7e18 /runtime/syntax/diff.vim | |
parent | 5b30ba7b999dc6af7e429c9a25167515f937cd66 (diff) | |
download | rneovim-cb0b89f8bad0a6c2b05940d7ed55d0970f823926.tar.gz rneovim-cb0b89f8bad0a6c2b05940d7ed55d0970f823926.tar.bz2 rneovim-cb0b89f8bad0a6c2b05940d7ed55d0970f823926.zip |
vim-patch:0122c40
Update runtime files.
https://github.com/vim/vim/commit/0122c4070f84e71f15a39fb20ababeffb70757c4
Diffstat (limited to 'runtime/syntax/diff.vim')
-rw-r--r-- | runtime/syntax/diff.vim | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/runtime/syntax/diff.vim b/runtime/syntax/diff.vim index ff69c5860b..885feaebdd 100644 --- a/runtime/syntax/diff.vim +++ b/runtime/syntax/diff.vim @@ -2,7 +2,7 @@ " Language: Diff (context or unified) " Maintainer: Bram Moolenaar <Bram@vim.org> " Translations by Jakson Alves de Aquino. -" Last Change: 2015 Jan 07 +" Last Change: 2015 Feb 03 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") @@ -123,13 +123,17 @@ syn match diffNoEOL "^\\ Non hai un salto de liña na fin da liña" syn match diffCommon "^Subdirectorios comúns: .* e .*" " he -syn match diffOnly "^.*-ב קר אצמנ .*" -syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$" -syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$" -syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$" -syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$" -syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס." -syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$" +" ^.* are expansive patterns for long lines, so disabled unless we can match +" some specific hebrew chars +if search('\%u05d5\|\%u05d1', 'nw', '', 100) + syn match diffOnly "^.*-ב קר אצמנ .*" + syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$" + syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$" + syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$" + syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$" + syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס." + syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$" +endif " hr syn match diffOnly "^Samo u .*" |