aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/match_brackets.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-08 05:19:25 +0000
committerBlaž Hrastnik2021-09-08 05:19:25 +0000
commit2ce87968cd5983167271cd306ab1c1d72a9c488d (patch)
treedf3bb85b43dbcfead4eb79a92018c84f6802b124 /helix-core/src/match_brackets.rs
parentf871d318c00023416dbc21747fd227f4a24c94c6 (diff)
ui: Be smarter about centering previews
Try centering the whole block. If the block is too big for the viewport, then make sure that the first line is within the preview.
Diffstat (limited to 'helix-core/src/match_brackets.rs')
0 files changed, 0 insertions, 0 deletions