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(README): correct undefined line() to vim.fn.line() #785

Merged
merged 1 commit into from
Apr 21, 2023
Merged

fix(README): correct undefined line() to vim.fn.line() #785

merged 1 commit into from
Apr 21, 2023

Conversation

mmirus
Copy link
Contributor

@mmirus mmirus commented Apr 21, 2023

The updated mapping examples for staging and resetting hunks in visual mode added in 5d84067 result in an error, because they reference an undefined line() function.

This PR corrects this to vim.fn.line().

@lewis6991 lewis6991 merged commit 7dfe4be into lewis6991:main Apr 21, 2023
@mmirus mmirus deleted the patch-1 branch April 21, 2023 18:33
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

2 participants