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

Fix (local)leader with more than one character #492

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

TheBlob42
Copy link

If vim.g.mapleader or vim.g.maplocalleader have more than one character the replacement in the notation does not work correctly (only replacing one char) which then leads to an error as the length between the internal representation and notation does not match. This is also the issue for #450

Now in case of any (local)leader having multiple characters we replace them in a loop to ensure that everything matches

github-actions bot and others added 3 commits July 29, 2023 22:25
Correctly replace leader and localleader in the notations when the have
multiple characters (>1). Fixes folke#450
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

Successfully merging this pull request may close these issues.

None yet

1 participant