diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-09 20:12:19 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-09 20:12:19 -0500 |
commit | b11ada1aba4c6d15128446b9669b5993ce937d11 (patch) | |
tree | 5d67b48c5e3b0efa82deea612e9113077828fbd9 /runtime/syntax/sed.vim | |
parent | c5b9e5d1d317b74d4adf7637cd9081be4ee52722 (diff) | |
parent | f33abc4661d069727439958cedeaa4883ea3f298 (diff) | |
download | rneovim-b11ada1aba4c6d15128446b9669b5993ce937d11.tar.gz rneovim-b11ada1aba4c6d15128446b9669b5993ce937d11.tar.bz2 rneovim-b11ada1aba4c6d15128446b9669b5993ce937d11.zip |
Merge pull request #1628 from Pyrohh/misc-cleanup
More misc. platform cleanup
Diffstat (limited to 'runtime/syntax/sed.vim')
-rw-r--r-- | runtime/syntax/sed.vim | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/runtime/syntax/sed.vim b/runtime/syntax/sed.vim index 42ad6d8e62..f0f80300d6 100644 --- a/runtime/syntax/sed.vim +++ b/runtime/syntax/sed.vim @@ -49,12 +49,8 @@ syn match sedReplaceMeta "&\|\\\($\|.\)" contains=sedTab contained " Metacharacters: $ * . \ ^ [ ~ " @ is used as delimiter and treated on its own below let __at = char2nr("@") -let __sed_i = char2nr(" ") " ASCII: 32, EBCDIC: 64 -if has("ebcdic") - let __sed_last = 255 -else - let __sed_last = 126 -endif +let __sed_i = char2nr(" ") " ASCII: 32 +let __sed_last = 126 let __sed_metacharacters = '$*.\^[~' while __sed_i <= __sed_last let __sed_delimiter = escape(nr2char(__sed_i), __sed_metacharacters) @@ -105,7 +101,7 @@ if version >= 508 || !exists("did_sed_syntax_inits") if exists("highlight_sedtabs") HiLink sedTab Todo endif - let __sed_i = char2nr(" ") " ASCII: 32, EBCDIC: 64 + let __sed_i = char2nr(" ") " ASCII: 32 while __sed_i <= __sed_last exe "HiLink sedRegexp".__sed_i "Macro" exe "HiLink sedReplacement".__sed_i "NONE" |