Mercurial > vim
view src/proto/if_python.pro @ 20943:1693ca876049 v8.2.1023
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Commit: https://github.com/vim/vim/commit/0cb5bcf5836de83f7d64fb01d3ce708caacaf66c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 20 18:19:09 2020 +0200
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Jun 2020 18:30:04 +0200 |
parents | 21b0a39d13ed |
children |
line wrap: on
line source
/* if_python.c */ int python_enabled(int verbose); void python_end(void); int python_loaded(void); void ex_python(exarg_T *eap); void ex_pyfile(exarg_T *eap); void ex_pydo(exarg_T *eap); void python_buffer_free(buf_T *buf); void python_window_free(win_T *win); void python_tabpage_free(tabpage_T *tab); void do_pyeval(char_u *str, typval_T *rettv); int set_ref_in_python(int copyID); /* vim: set ft=c : */