diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-16 15:10:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-16 15:10:30 +0100 |
commit | 14184a3133b9a6ee5f711d493c04e41ba4fa7c2f (patch) | |
tree | 2fefdfea751bfbfdbbec793f880073bd8387bb4f /src/charset.c | |
parent | 6902c0eb27a3e4479445badfef31443f2227fe60 (diff) | |
download | vim-git-14184a3133b9a6ee5f711d493c04e41ba4fa7c2f.tar.gz |
patch 8.1.0932: Farsi support is outdated and unusedv8.1.0932
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/charset.c b/src/charset.c index 5b091ec4d..1d66d617a 100644 --- a/src/charset.c +++ b/src/charset.c @@ -98,13 +98,6 @@ buf_init_chartab( while (c <= '~') #endif g_chartab[c++] = 1 + CT_PRINT_CHAR; -#ifdef FEAT_FKMAP - if (p_altkeymap) - { - while (c < YE) - g_chartab[c++] = 1 + CT_PRINT_CHAR; - } -#endif while (c < 256) { /* UTF-8: bytes 0xa0 - 0xff are printable (latin1) */ @@ -218,11 +211,7 @@ buf_init_chartab( /* Use the MB_ functions here, because isalpha() doesn't * work properly when 'encoding' is "latin1" and the locale is * "C". */ - if (!do_isalpha || MB_ISLOWER(c) || MB_ISUPPER(c) -#ifdef FEAT_FKMAP - || (p_altkeymap && (F_isalpha(c) || F_isdigit(c))) -#endif - ) + if (!do_isalpha || MB_ISLOWER(c) || MB_ISUPPER(c)) { if (i == 0) /* (re)set ID flag */ { @@ -237,10 +226,6 @@ buf_init_chartab( #ifndef EBCDIC || c > '~' #endif -#ifdef FEAT_FKMAP - || (p_altkeymap - && (F_isalpha(c) || F_isdigit(c))) -#endif // For double-byte we keep the cell width, so // that we can detect it from the first byte. ) && !(enc_dbcs && MB_BYTE2LEN(c) == 2)) @@ -540,9 +525,6 @@ transchar(int c) #else (c >= ' ' && c <= '~') #endif -#ifdef FEAT_FKMAP - || (p_altkeymap && F_ischar(c)) -#endif )) || (c < 256 && vim_isprintc_strict(c))) { /* printable character */ |