mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
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.
f273245f64
This commit is contained in:
@@ -2432,6 +2432,10 @@ void nv_diffgetput(bool put, size_t count)
|
||||
exarg_T ea;
|
||||
char buf[30];
|
||||
|
||||
if (bt_prompt(curbuf)) {
|
||||
vim_beep(BO_OPER);
|
||||
return;
|
||||
}
|
||||
if (count == 0) {
|
||||
ea.arg = (char_u *)"";
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user