Skip to content
Discussion options

You must be logged in to vote

Hi! If you just want to shift the label to the left, you can do that:

leap.nvim/README.md

Lines 487 to 505 in 7068a05

<details>
<summary>Always show labels at the beginning of the match</summary>
Warning: `on_beacons` is an experimental escape hatch, and this workaround
depends on implementation details.
```lua
-- `on_beacons` hooks into `beacons.light_up_beacons`, the function
-- responsible for displaying stuff.
require('leap').opts.on_beacons = function (targets, _, _)
for _, t in ipairs(targets) do
-- Overwrite the `offset` value in all beacons.
-- target.beacon looks like: { <offset>, <extmark_opts> }
if t.l…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@ggandor
Comment options

@tuurep
Comment options

@tuurep
Comment options

@ggandor
Comment options

@tuurep
Comment options

Answer selected by tuurep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants