diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-17 15:23:17 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-04-12 21:26:30 +0800 |
commit | cbc54cf484d1082e8c09b955e86aff4579ad8f8a (patch) | |
tree | 5d210dd3ff92eb80d2fd6c127c96451fb925c89b /src/nvim/digraph.h | |
parent | 7e1e906738ae8cf2d38ded4be3bef50d72b7c2a7 (diff) | |
download | rneovim-cbc54cf484d1082e8c09b955e86aff4579ad8f8a.tar.gz rneovim-cbc54cf484d1082e8c09b955e86aff4579ad8f8a.tar.bz2 rneovim-cbc54cf484d1082e8c09b955e86aff4579ad8f8a.zip |
vim-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 vim/vim#8580)
https://github.com/vim/vim/commit/6106504e9edc8500131f7a36e59bc146f90180fa
Use GA_APPEND_VIA_PTR in registerdigraph().
Use tv_list_append_*() in getdigraphlist_appendpair().
Put the error messages in digraph.c.
E196 is N/A.
Remove mentions about 'encoding' being non-Unicode.
Nvim doesn't support setting encoding=japan, so skip a test.
Diffstat (limited to 'src/nvim/digraph.h')
-rw-r--r-- | src/nvim/digraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/digraph.h b/src/nvim/digraph.h index 71330ae9b1..80b4148213 100644 --- a/src/nvim/digraph.h +++ b/src/nvim/digraph.h @@ -2,6 +2,7 @@ #define NVIM_DIGRAPH_H #include "nvim/ex_cmds_defs.h" +#include "nvim/eval/funcs.h" #include "nvim/types.h" #ifdef INCLUDE_GENERATED_DECLARATIONS |