mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 12:08:33 +00:00
ui: implement ext_messages
Co-Author: Dongdong Zhou <dzhou121@gmail.com>
This commit is contained in:
@@ -132,6 +132,13 @@ void nvim_ui_attach(uint64_t channel_id, Integer width, Integer height,
|
||||
ui->ui_ext[kUILinegrid] = true;
|
||||
}
|
||||
|
||||
if (ui->ui_ext[kUIMessages]) {
|
||||
// This uses attribute indicies, so ext_linegrid is needed.
|
||||
ui->ui_ext[kUILinegrid] = true;
|
||||
// Cmdline uses the messages area, so it should be externalized too.
|
||||
ui->ui_ext[kUICmdline] = true;
|
||||
}
|
||||
|
||||
UIData *data = xmalloc(sizeof(UIData));
|
||||
data->channel_id = channel_id;
|
||||
data->buffer = (Array)ARRAY_DICT_INIT;
|
||||
|
Reference in New Issue
Block a user