diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-11-28 11:01:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 11:01:21 +0100 |
commit | ba564442ae5e8793f54d401fc636194df48cad3d (patch) | |
tree | 6595afdc29f0f0a1e7057373a14e5b121e41ae41 /src/nvim/api/vim.c | |
parent | 71e954ad303eec25b67541f3a99392446f6de8b3 (diff) | |
parent | ae3685798deaf51f14422c568998998c03f91f2c (diff) | |
download | rneovim-ba564442ae5e8793f54d401fc636194df48cad3d.tar.gz rneovim-ba564442ae5e8793f54d401fc636194df48cad3d.tar.bz2 rneovim-ba564442ae5e8793f54d401fc636194df48cad3d.zip |
Merge pull request #26249 from bfredl/concealchar
feat(decoration): allow conceal_char to be a composing char
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 858fda68b9..ad111510e5 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -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) |