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 option values that include = #161

Merged
merged 3 commits into from
Jan 29, 2024
Merged

Conversation

Opisek
Copy link
Contributor

@Opisek Opisek commented Jan 27, 2024

Why

Options that include = inside their value would break, in particular langmaps:
set langmap=ab,cd,=e should remap = to e, instead the option value was cut early at ab,cd,.

What changed

Merge all parts of the split string string but the first one using =.

Test plan

  • :set langmap==j
  • =
  • Evaluate whether the cursor has moved down by one line

@nightwing nightwing merged commit 532ef93 into replit:master Jan 29, 2024
1 check passed
@nightwing
Copy link
Collaborator

Thank you!

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.

2 participants