diff options
author | erw7 <erw7.github@gmail.com> | 2019-05-20 11:57:45 +0900 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2020-02-12 15:16:32 +0900 |
commit | 4813ad48cd12a03ca50c01ac1b20518bf4df57f2 (patch) | |
tree | f0c15d85ef763dc504ac8bace7a1f08bf366feb8 /src/nvim/buffer_defs.h | |
parent | 58ec72f9fdfd186e5154ce82be1da7c65b9c8ea0 (diff) | |
download | rneovim-4813ad48cd12a03ca50c01ac1b20518bf4df57f2.tar.gz rneovim-4813ad48cd12a03ca50c01ac1b20518bf4df57f2.tar.bz2 rneovim-4813ad48cd12a03ca50c01ac1b20518bf4df57f2.zip |
vim-patch:8.1.0027: difficult to make a plugin that feeds a line to a job
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
https://github.com/vim/vim/commit/f273245f6433d5d43a5671306b520a3230c35787
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index a0379740b6..e3e036f91c 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -791,6 +791,9 @@ struct file_buffer { // are not used! Use the B_SPELL macro to // access b_spell without #ifdef. + char_u *b_prompt_text; // set by prompt_setprompt() + Callback b_prompt_callback; // set by prompt_setcallback() + synblock_T b_s; // Info related to syntax highlighting. w_s // normally points to this, but some windows // may use a different synblock_T. |