Mercurial > vim
view src/proto/digraph.pro @ 28203:18319c0c36f9 v8.2.4627
patch 8.2.4627: flatten() does not use maxdepth correctly
Commit: https://github.com/vim/vim/commit/acf7d73a7f5cdd63b34de777a4ce5eb3e2ba0ab3
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 25 19:50:57 2022 +0000
patch 8.2.4627: flatten() does not use maxdepth correctly
Problem: flatten() does not use maxdepth correctly.
Solution: Use a recursive implementation. (closes https://github.com/vim/vim/issues/10020)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 25 Mar 2022 21:00:03 +0100 |
parents | 0082503ff2ff |
children |
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 digraph_get(int char1, int char2, int meta_char); void putdigraph(char_u *str); void listdigraphs(int use_headers); void f_digraph_get(typval_T *argvars, typval_T *rettv); void f_digraph_getlist(typval_T *argvars, typval_T *rettv); void f_digraph_set(typval_T *argvars, typval_T *rettv); void f_digraph_setlist(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 : */