mirror of
https://github.com/neovim/neovim.git
synced 2026-05-01 03:24:49 +00:00
ex_getln: Enable coloring for expression mode
This commit is contained in:
@@ -2226,6 +2226,12 @@ static bool color_cmdline(void)
|
||||
goto color_cmdline_error;
|
||||
}
|
||||
can_free_cb = true;
|
||||
} else if (ccline.cmdfirstc == '=') {
|
||||
if (!tv_dict_get_callback(&globvardict, S_LEN("Nvim_color_expr"),
|
||||
&color_cb)) {
|
||||
goto color_cmdline_error;
|
||||
}
|
||||
can_free_cb = true;
|
||||
} else {
|
||||
goto color_cmdline_end;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user