aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_api_vimdoc.py
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-02-14 20:46:12 +0300
committerZyX <kp-pav@yandex.ru>2017-02-14 20:46:12 +0300
commitf489827b5f9b8b1ecd684768a92871389217aa91 (patch)
tree5b807053245228fc6c7f5922bcd9aa451ce03899 /scripts/gen_api_vimdoc.py
parent066e6b8e9b221df4718accf4aef88142f51eae99 (diff)
downloadrneovim-f489827b5f9b8b1ecd684768a92871389217aa91.tar.gz
rneovim-f489827b5f9b8b1ecd684768a92871389217aa91.tar.bz2
rneovim-f489827b5f9b8b1ecd684768a92871389217aa91.zip
eval: Fix error messages from writefile
1. When calling writefile(list, fname, []) do not show error message twice. 2. Do not allow file name to be overwritten for writefile([1], 2). 3. Do not show “Can’t open file with an empty name” error after error like “using Float as a String” when type of the second argument is not correct. 4. Do not give multiple error messages and still continue for code like `writefile(["test", [], [], [], "tset"])`. Note that to fix 4. ideally I need tv_check_str_or_nr which is currently present in two PRs: #6114 and #5119. I would want to avoid copying this function into a yet another PR. Ref vim/vim#1476.
Diffstat (limited to 'scripts/gen_api_vimdoc.py')
0 files changed, 0 insertions, 0 deletions