fix(symbol_palette): add indent to match highlights
This commit is contained in:
parent
3a16d7fe50
commit
22ed9a32d7
1 changed files with 1 additions and 1 deletions
|
|
@ -2419,7 +2419,7 @@ pub fn render_symbol(
|
||||||
while (len > 0) : (len -= 1) {
|
while (len > 0) : (len -= 1) {
|
||||||
if (cbor.matchValue(&iter, cbor.extract(&index)) catch break) {
|
if (cbor.matchValue(&iter, cbor.extract(&index)) catch break) {
|
||||||
const col = egc_chunk_width(symbol[0..@min(symbol.len, index)], 0, 1);
|
const col = egc_chunk_width(symbol[0..@min(symbol.len, index)], 0, 1);
|
||||||
render_match_cell(self, 0, col + 2 + icon_width, theme_) catch break;
|
render_match_cell(self, 0, col + 2 + icon_width + indent, theme_) catch break;
|
||||||
} else break;
|
} else break;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue