mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 04:58:33 +00:00
Merge pull request #10090 from bfredl/floatpopup
api/window: add style="minimal" flag to disable unwanted UI features for simple floats
This commit is contained in:
@@ -3762,7 +3762,8 @@ static bool parse_winhl_opt(win_T *wp)
|
||||
size_t nlen = (size_t)(colon-p);
|
||||
char *hi = colon+1;
|
||||
char *commap = xstrchrnul(hi, ',');
|
||||
int hl_id = syn_check_group((char_u *)hi, (int)(commap-hi));
|
||||
int len = (int)(commap-hi);
|
||||
int hl_id = len ? syn_check_group((char_u *)hi, len) : -1;
|
||||
|
||||
if (strncmp("Normal", p, nlen) == 0) {
|
||||
w_hl_id_normal = hl_id;
|
||||
|
Reference in New Issue
Block a user