You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, preview_hunk_inline only works in normal mode on the cursor position. It'd be nice to support showing hunks in the selected range in visual mode.
PS: I tried altering preview_hunk_inline by passing the selected range into CacheEntry:get_hunk, but instead of showing separated hunks in the range, it creates one big hunk, which might not be the easiest to scan at a glance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
preview_hunk_inline
only works in normal mode on the cursor position. It'd be nice to support showing hunks in the selected range in visual mode.PS: I tried altering
preview_hunk_inline
by passing the selected range intoCacheEntry:get_hunk
, but instead of showing separated hunks in the range, it creates one big hunk, which might not be the easiest to scan at a glance.Beta Was this translation helpful? Give feedback.
All reactions