mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
feat(decoration): allow conceal_char to be a composing char
decor->text.str pointer must go. This removes it for conceal char, in preparation for a larger PR which will also handle the sign case. By actually allowing composing chars for a conceal chars, this becomes a feature and not just a refactor, as a bonus.
This commit is contained in:
@@ -1999,9 +1999,12 @@ void nvim__screenshot(String path)
|
||||
ui_call_screenshot(path);
|
||||
}
|
||||
|
||||
/// For testing. The condition in schar_cache_clear_if_full is hard to
|
||||
/// reach, so this function can be used to force a cache clear in a test.
|
||||
void nvim__invalidate_glyph_cache(void)
|
||||
{
|
||||
schar_cache_clear_force();
|
||||
schar_cache_clear();
|
||||
must_redraw = UPD_CLEAR;
|
||||
}
|
||||
|
||||
Object nvim__unpack(String str, Error *err)
|
||||
|
Reference in New Issue
Block a user