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/normal.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/normal.c')
-rw-r--r-- | src/nvim/normal.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index d361d81ac7..d857d1a79e 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -28,7 +28,6 @@ #include "nvim/ex_cmds2.h" #include "nvim/ex_docmd.h" #include "nvim/ex_getln.h" -#include "nvim/farsi.h" #include "nvim/fileio.h" #include "nvim/fold.h" #include "nvim/getchar.h" @@ -340,8 +339,6 @@ static const struct nv_cmd { { K_F1, nv_help, NV_NCW, 0 }, { K_XF1, nv_help, NV_NCW, 0 }, { K_SELECT, nv_select, 0, 0 }, - { K_F8, farsi_f8, 0, 0 }, - { K_F9, farsi_f9, 0, 0 }, { K_EVENT, nv_event, NV_KEEPREG, 0 }, { K_COMMAND, nv_colon, 0, 0 }, }; @@ -719,10 +716,6 @@ static void normal_get_additional_char(NormalState *s) if (p_hkmap && lang && KeyTyped) { *cp = hkmap(*cp); } - // adjust Farsi mapped char - if (p_fkmap && lang && KeyTyped) { - *cp = fkmap(*cp); - } } // When the next character is CTRL-\ a following CTRL-N means the |