Mercurial > vim
diff src/proto/main.pro @ 9399:43b8570abbec v7.4.1981
commit https://github.com/vim/vim/commit/ee2615af64fdcee87d8e4b13b65356e77fbd969b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 2 18:25:34 2016 +0200
patch 7.4.1981
Problem: No testing for Farsi code.
Solution: Add a minimal test. Clean up Farsi code.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 02 Jul 2016 18:30:05 +0200 |
parents | 21b0a39d13ed |
children | 9b048dced116 |
line wrap: on
line diff
--- a/src/proto/main.pro +++ b/src/proto/main.pro @@ -10,10 +10,7 @@ void time_msg(char *mesg, void *tv_start void server_to_input_buf(char_u *str); char_u *eval_client_expr_to_string(char_u *expr); char_u *serverConvert(char_u *client_enc, char_u *data, char_u **tofree); -int toF_TyA(int c); int fkmap(int c); -void conv_to_pvim(void); -void conv_to_pstd(void); char_u *lrswap(char_u *ibuf); char_u *lrFswap(char_u *cmdbuf, int len); char_u *lrF_sub(char_u *ibuf); @@ -21,6 +18,7 @@ int cmdl_fkmap(int c); int F_isalpha(int c); int F_isdigit(int c); int F_ischar(int c); -void farsi_fkey(cmdarg_T *cap); +void farsi_f8(cmdarg_T *cap); +void farsi_f9(cmdarg_T *cap); int arabic_shape(int c, int *ccp, int *c1p, int prev_c, int prev_c1, int next_c); /* vim: set ft=c : */