diff options
author | Michael Reed <m.reed@mykolab.com> | 2014-12-08 20:26:55 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2014-12-09 19:25:07 -0500 |
commit | 365cf90efbc516ef2e83d0f8152eb7f7c3acbb3c (patch) | |
tree | 7a28dde50807e83ea1871272ba321f3c424b365a /runtime/syntax | |
parent | 33b459b6724bd252c170b22e18a020d886791076 (diff) | |
download | rneovim-365cf90efbc516ef2e83d0f8152eb7f7c3acbb3c.tar.gz rneovim-365cf90efbc516ef2e83d0f8152eb7f7c3acbb3c.tar.bz2 rneovim-365cf90efbc516ef2e83d0f8152eb7f7c3acbb3c.zip |
docs: Remove EBCDIC remnants
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/help.vim | 12 | ||||
-rw-r--r-- | runtime/syntax/sed.vim | 10 |
2 files changed, 6 insertions, 16 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim index c55d32ef7c..b306e66e59 100644 --- a/runtime/syntax/help.vim +++ b/runtime/syntax/help.vim @@ -19,15 +19,9 @@ if has("conceal") else syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<" endif -if has("ebcdic") - syn match helpHyperTextJump "\\\@<!|[^"*|]\+|" contains=helpBar - syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar - syn match helpHyperTextEntry "\*[^"*|]\+\*$" contains=helpStar -else - syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar - syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar - syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$" contains=helpStar -endif +syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar +syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar +syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$" contains=helpStar if has("conceal") syn match helpBar contained "|" conceal syn match helpBacktick contained "`" conceal 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" |