Mercurial > vim
view src/proto/vim9script.pro @ 22139:c7fb7361df33 v8.2.1619
patch 8.2.1619: Vim9: cannot pass "true" to spellsuggest()
Commit: https://github.com/vim/vim/commit/7c27f337bf278babc1ccdcb66ac975f115d660b7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 5 22:45:55 2020 +0200
patch 8.2.1619: Vim9: cannot pass "true" to spellsuggest()
Problem: Vim9: cannot pass "true" to spellsuggest().
Solution: Use tv_get_bool_chk(). (closes https://github.com/vim/vim/issues/6883)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Sep 2020 23:00:03 +0200 |
parents | c7b2ce90c2de |
children | 35ef9b0a81a3 |
line wrap: on
line source
/* vim9script.c */ int in_vim9script(void); void ex_vim9script(exarg_T *eap); int not_in_vim9(exarg_T *eap); void ex_export(exarg_T *eap); void free_imports(int sid); void ex_import(exarg_T *eap); int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type); char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, evalarg_T *evalarg, void *cctx); char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); int check_script_var_type(typval_T *dest, typval_T *value, char_u *name); /* vim: set ft=c : */