Mercurial > vim
view src/proto/if_ruby.pro @ 26775:2df40c348c70 v8.2.3916
patch 8.2.3916: no error for passing an invalid line number to append()
Commit: https://github.com/vim/vim/commit/8dac2acd6a79d571ff5409d9c90b4c9e73237eb4
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 27 20:57:06 2021 +0000
patch 8.2.3916: no error for passing an invalid line number to append()
Problem: No error for passing an invalid line number to append().
Solution: In Vim9 script check for a non-negative number. (closes https://github.com/vim/vim/issues/9417)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 22:00:04 +0100 |
parents | 518f44125207 |
children |
line wrap: on
line source
/* if_ruby.c */ int ruby_enabled(int verbose); void ruby_end(void); void ex_ruby(exarg_T *eap); void ex_rubydo(exarg_T *eap); void ex_rubyfile(exarg_T *eap); void ruby_buffer_free(buf_T *buf); void ruby_window_free(win_T *win); void vim_ruby_init(void *stack_start); void do_rubyeval(char_u *str, typval_T *rettv); /* vim: set ft=c : */