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

Persist idea #45

Open
xzbdmw opened this issue Apr 1, 2024 · 2 comments
Open

Persist idea #45

xzbdmw opened this issue Apr 1, 2024 · 2 comments

Comments

@xzbdmw
Copy link

xzbdmw commented Apr 1, 2024

You can use nvim_buf_get_extmarks to get those changed line numbers and get the new line location, no need for hash I think.

@crusj
Copy link
Owner

crusj commented Apr 2, 2024

You can use nvim_buf_get_extmarks to get those changed line numbers and get the new line location, no need for hash I think.

Can you be more detailed, I looked into the api and don't know how to do it

@xzbdmw
Copy link
Author

xzbdmw commented Apr 2, 2024

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