aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-05-23 07:08:40 +0900
committererw7 <erw7.github@gmail.com>2020-02-12 15:30:17 +0900
commitf320db345070221487797ed5ab36249b84eba007 (patch)
treee2bfcb148c658df613689d50bc8467053c3d3964
parentfe395ae210914eeec0f8592268b1960cb1b819b8 (diff)
downloadrneovim-f320db345070221487797ed5ab36249b84eba007.tar.gz
rneovim-f320db345070221487797ed5ab36249b84eba007.tar.bz2
rneovim-f320db345070221487797ed5ab36249b84eba007.zip
vim-patch:8.1.0070: missing part of the changes for prompt_setinterrupt()
Problem: Missing part of the changes for prompt_setinterrupt(). Solution: Add the missing changes. https://github.com/vim/vim/commit/222cd20e2662e7478cfe42b78cc4f1c153ca819d
-rw-r--r--src/nvim/buffer_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index e3e036f91c..9cdf36e4ed 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -793,6 +793,9 @@ struct file_buffer {
char_u *b_prompt_text; // set by prompt_setprompt()
Callback b_prompt_callback; // set by prompt_setcallback()
+ Callback b_prompt_interrupt; // set by prompt_setinterrupt()
+ int b_prompt_insert; // value for restart_edit when entering
+ // a prompt buffer window.
synblock_T b_s; // Info related to syntax highlighting. w_s
// normally points to this, but some windows