refactor(extmark): remove pointer indirection for extmark use of maps

This commit is contained in:
Björn Linse
2021-08-22 10:25:26 +02:00
parent 4500253f60
commit 6d23a58b7d
5 changed files with 20 additions and 36 deletions

View File

@@ -150,7 +150,7 @@ bool decor_redraw_reset(buf_T *buf, DecorState *state)
}
}
kv_size(state->active) = 0;
return buf->b_extmark_index;
return map_size(buf->b_extmark_index);
}