diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-02-17 10:54:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-17 10:54:00 +0100 |
commit | 33ce70c8833a4ee0422b8865c7438fe6676cdd6c (patch) | |
tree | a3c2c7b74745729773dbac16070d43db1c8f7d09 /src/nvim/getchar.c | |
parent | dc9dd8d664f2ffec3d199f96e4605cb0729497ec (diff) | |
download | rneovim-33ce70c8833a4ee0422b8865c7438fe6676cdd6c.tar.gz rneovim-33ce70c8833a4ee0422b8865c7438fe6676cdd6c.tar.bz2 rneovim-33ce70c8833a4ee0422b8865c7438fe6676cdd6c.zip |
vim-patch:8.1.0932: remove Farsi support (#9622)
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
https://github.com/vim/vim/commit/14184a3133b9a6ee5f711d493c04e41ba4fa7c2f
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index b24acb5ebb..139bf7b802 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -25,7 +25,6 @@ #include "nvim/eval.h" #include "nvim/ex_docmd.h" #include "nvim/ex_getln.h" -#include "nvim/farsi.h" #include "nvim/func_attr.h" #include "nvim/main.h" #include "nvim/mbyte.h" @@ -2689,16 +2688,9 @@ do_map ( } } - /* - * When in right-to-left mode and alternate keymap option set, - * reverse the character flow in the rhs in Farsi. - */ - if (p_altkeymap && curwin->w_p_rl) - lrswap(rhs); - - /* - * check arguments and translate function keys - */ + // + // check arguments and translate function keys + // if (haskey) { len = (int)STRLEN(keys); if (len > MAXMAPLEN) { /* maximum length of MAXMAPLEN chars */ |