mirror of
https://github.com/neovim/neovim.git
synced 2025-10-12 12:56:04 +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:
@@ -11,14 +11,6 @@
|
||||
// ensures we can fit all composed chars which did fit before.
|
||||
#define MAX_SCHAR_SIZE 32
|
||||
|
||||
// if data[0] is 0xFF, then data[1..4] is a 24-bit index (in machine endianness)
|
||||
// otherwise it must be a UTF-8 string of length maximum 4 (no NUL when n=4)
|
||||
|
||||
typedef uint32_t schar_T;
|
||||
typedef int32_t sattr_T;
|
||||
// must be at least as big as the biggest of schar_T, sattr_T, col_T
|
||||
typedef int32_t sscratch_T;
|
||||
|
||||
enum {
|
||||
kZIndexDefaultGrid = 0,
|
||||
kZIndexFloatDefault = 50,
|
||||
|
Reference in New Issue
Block a user