Mercurial > vim
view src/proto/cmdexpand.pro @ 22045:47ff9e5be532 v8.2.1572
patch 8.2.1572: Vim9: expand() does not take "true" as argument
Commit: https://github.com/vim/vim/commit/551d25e76545df785a9f62df52f34bc1dd368bfb
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 2 21:37:56 2020 +0200
patch 8.2.1572: Vim9: expand() does not take "true" as argument
Problem: Vim9: expand() does not take "true" as argument.
Solution: Use tv_get_bool_chk(). (closes https://github.com/vim/vim/issues/6819)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Sep 2020 21:45:04 +0200 |
parents | cec4da73951a |
children | eb878f85967e |
line wrap: on
line source
/* cmdexpand.c */ int nextwild(expand_T *xp, int type, int options, int escape); char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode); void ExpandInit(expand_T *xp); void ExpandCleanup(expand_T *xp); int showmatches(expand_T *xp, int wildmenu); char_u *sm_gettail(char_u *s); char_u *addstar(char_u *fname, int len, int context); void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline); int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches); void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options); void f_getcompletion(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */