Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alexveden opened this issue Mar 10, 2023 · 1 comment
Open

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

alexveden opened this issue Mar 10, 2023 · 1 comment

Comments

@alexveden
Copy link

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

@alexveden alexveden changed the title opts.substitute_chars doesn't for for 2+ chars opts.substitute_chars doesn't work in phase 2 Mar 10, 2023
@ggandor
Copy link
Owner

ggandor commented Mar 11, 2023

On the todo list!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants