aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-14 11:35:25 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-02-14 11:35:25 +0800
commit5220891571a799fd630cbcbe836d1f9e3d2dc1fa (patch)
treebe2ab5557a3b1aa02f0ad7b5c52d3441ed225a02 /src/nvim/message.c
parent5d6bef0f6e5e6fc2daa12a0d7e1f5d63df59926e (diff)
downloadrneovim-5220891571a799fd630cbcbe836d1f9e3d2dc1fa.tar.gz
rneovim-5220891571a799fd630cbcbe836d1f9e3d2dc1fa.tar.bz2
rneovim-5220891571a799fd630cbcbe836d1f9e3d2dc1fa.zip
vim-patch:8.2.4343: when reloading not all properties are detected
Problem: When reloading not all properties are detected. Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes vim/vim#9579) https://github.com/vim/vim/commit/8196e94a8b72ed8618605cb66615571313097d78 Cherry-pick some test changes from patch 8.1.1826.
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 93742ccbdb..b39450cdc6 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -3464,6 +3464,7 @@ void msg_advance(int col)
///
/// @param textfiel IObuff for inputdialog(), NULL otherwise
/// @param ex_cmd when TRUE pressing : accepts default and starts Ex command
+/// @returns 0 if cancelled, otherwise the nth button (1-indexed).
int do_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton,
char_u *textfield, int ex_cmd)
{