mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
vim-patch:7.4.1981 (#6192)
Problem: No testing for Farsi code.
Solution: Add a minimal test. Clean up Farsi code.
ee2615af64
This commit is contained in:

committed by
Justin M. Keyes

parent
286aacb2aa
commit
8a10497ce6
@@ -486,7 +486,8 @@ char_u* transchar(int c)
|
||||
c = K_SECOND(c);
|
||||
}
|
||||
|
||||
if ((!chartab_initialized && (((c >= ' ') && (c <= '~')) || F_ischar(c)))
|
||||
if ((!chartab_initialized && (((c >= ' ') && (c <= '~'))
|
||||
|| (p_altkeymap && F_ischar(c))))
|
||||
|| ((c < 256) && vim_isprintc_strict(c))) {
|
||||
// printable character
|
||||
transchar_buf[i] = (char_u)c;
|
||||
|
Reference in New Issue
Block a user