diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-12-17 15:23:35 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-12-17 15:23:35 -0500 |
commit | ecdf18edbbb636d06c888c0fe28d04cc102d6f57 (patch) | |
tree | b817949807a29f36f66b2f1f642688a2e88d7e18 /runtime/syntax/diff.vim | |
parent | 5b30ba7b999dc6af7e429c9a25167515f937cd66 (diff) | |
parent | cb0b89f8bad0a6c2b05940d7ed55d0970f823926 (diff) | |
download | rneovim-ecdf18edbbb636d06c888c0fe28d04cc102d6f57.tar.gz rneovim-ecdf18edbbb636d06c888c0fe28d04cc102d6f57.tar.bz2 rneovim-ecdf18edbbb636d06c888c0fe28d04cc102d6f57.zip |
Merge pull request #3860 from justinmk/vim-0122c40
vim-patch:0122c40
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 .*" |