Mercurial > vim
view src/proto/if_lua.pro @ 14097:db44cd9f8068 v8.1.0066
patch 8.1.0066: nasty autocommand causes using freed memory
commit https://github.com/vim/vim/commit/c3ffc9b8d3015dc5280b297b4e3deb4f34944bd4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 17 17:32:58 2018 +0200
patch 8.1.0066: nasty autocommand causes using freed memory
Problem: Nasty autocommand causes using freed memory. (Dominique Pelle)
Solution: Do not force executing autocommands if the value of 'syntax' or
'filetype' did not change.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jun 2018 17:45:05 +0200 |
parents | 1a5d34492798 |
children | 054ba681412d |
line wrap: on
line source
/* if_lua.c */ int lua_enabled(int verbose); void lua_end(void); void ex_lua(exarg_T *eap); void ex_luado(exarg_T *eap); void ex_luafile(exarg_T *eap); void lua_buffer_free(buf_T *o); void lua_window_free(win_T *o); void do_luaeval(char_u *str, typval_T *arg, typval_T *rettv); int set_ref_in_lua(int copyID); /* vim: set ft=c : */