ggandor / leap.nvim

Neovim's answer to the mouse 🦘
MIT License
4.4k stars 46 forks source link

opts.substitute_chars doesn't work in phase 2 #118

Open alexveden opened 1 year ago

alexveden commented 1 year ago

My config:

leap.opts.safe_labels = {}
            leap.opts.highlight_unlabeled_phase_one_targets = true
            leap.opts.substitute_chars = {
                    [' '] = '␣',
                    ['\r'] = '¬',
            }

I'd like to replace ' ' with '␣', it works with highlight_unlabeled_phase_one_targets (white), but not with 2nd phase targets.

When I press <leap><space> image

When I press <leap>d image

ggandor commented 1 year ago

On the todo list!