diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-01 09:31:25 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-02-01 10:15:19 +0800 |
commit | bba5003bdb628764362d8c4869a1e1999584d716 (patch) | |
tree | 51e74fbd45dda0dc49ceb0b47b063d111c80cf4b /src/nvim/normal.c | |
parent | 5205bcc9049a171e90ebd01bbc0367f4ae2371d1 (diff) | |
download | rneovim-bba5003bdb628764362d8c4869a1e1999584d716.tar.gz rneovim-bba5003bdb628764362d8c4869a1e1999584d716.tar.bz2 rneovim-bba5003bdb628764362d8c4869a1e1999584d716.zip |
vim-patch:8.2.4273: the EBCDIC support is outdated
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
https://github.com/vim/vim/commit/424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7
Also remove a comment in buf_init_chartab() as it is for enc_dbcs only.
Skip test_expr.vim: the check was already removed when patch 7.4.2265
was first ported.
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 6e36226914..c597aed545 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -5027,9 +5027,7 @@ static void nv_brackets(cmdarg_T *cap) * identifier "]i" "[i" "]I" "[I" "]^I" "[^I" * define "]d" "[d" "]D" "[D" "]^D" "[^D" */ - if (vim_strchr((char_u *) - "iI\011dD\004", - cap->nchar) != NULL) { + if (vim_strchr((char_u *)"iI\011dD\004", cap->nchar) != NULL) { char_u *ptr; size_t len; |