diff options
author | erw7 <erw7.github@gmail.com> | 2019-08-29 13:07:03 +0900 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2019-09-04 13:40:05 +0900 |
commit | 9db60b06a1d9b50b3ba6beb858eb0fd2c58571c4 (patch) | |
tree | bd7d55a5af91afae726345b7fc40324625241879 /src/nvim/globals.h | |
parent | e4a47862415ee6e0c4904f9c5cc8c3453be6bf17 (diff) | |
download | rneovim-9db60b06a1d9b50b3ba6beb858eb0fd2c58571c4.tar.gz rneovim-9db60b06a1d9b50b3ba6beb858eb0fd2c58571c4.tar.bz2 rneovim-9db60b06a1d9b50b3ba6beb858eb0fd2c58571c4.zip |
vim-patch:8.1.0515: reloading a script gives errors for existing functions
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
https://github.com/vim/vim/commit/ded5f1bed7ff2d138b3ee0f9610d17290b62692d
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 3eae415719..5237c621f9 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -333,7 +333,7 @@ EXTERN int garbage_collect_at_exit INIT(= false); #define SID_API_CLIENT -8 // for API clients // Script CTX being sourced or was sourced to define the current function. -EXTERN sctx_T current_sctx INIT(= { 0 COMMA 0 }); +EXTERN sctx_T current_sctx INIT(= { 0 COMMA 0 COMMA 0 }); // ID of the current channel making a client API call EXTERN uint64_t current_channel_id INIT(= 0); |