Mercurial > vim
view src/proto/digraph.pro @ 25294:c626fd34b66f v8.2.3184
patch 8.2.3184: cannot add a digraph with a leading space
Commit: https://github.com/vim/vim/commit/6106504e9edc8500131f7a36e59bc146f90180fa
Author: mityu <mityu.mail@gmail.com>
Date: Mon Jul 19 20:07:21 2021 +0200
patch 8.2.3184: cannot add a digraph with a leading space
Problem: Cannot add a digraph with a leading space. It is not easy to list
existing digraphs.
Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
getdigraphlist(). (closes #8580)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Jul 2021 20:15:04 +0200 |
parents | 55ccc2d353bd |
children | 890fd8211202 |
line wrap: on
line source
/* digraph.c */ int do_digraph(int c); char_u *get_digraph_for_char(int val_arg); int get_digraph(int cmdline); int getdigraph(int char1, int char2, int meta_char); int check_digraph_chars_valid(int char1, int char2); void putdigraph(char_u *str); void listdigraphs(int use_headers); void getdigraphlist_common(int list_all, typval_T *rettv); void f_getdigraph(typval_T *argvars, typval_T *rettv); void f_getdigraphlist(typval_T *argvars, typval_T *rettv); void f_setdigraph(typval_T *argvars, typval_T *rettv); void f_setdigraphlist(typval_T *argvars, typval_T *rettv); char *keymap_init(void); void ex_loadkeymap(exarg_T *eap); void keymap_clear(garray_T *kmap); /* vim: set ft=c : */