Skip to content

Conversation

@TheLeoP
Copy link
Member

@TheLeoP TheLeoP commented Dec 29, 2025

Resolve #1901

This includes a small shim (in each of the affected modules) that uses the new signature on Neovim >= 0.11. Let me know if a different approach would be preferred.

Copy link
Member

@echasnovski echasnovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I did mean to do this, but didn't look like urgent.

@echasnovski echasnovski added the ALL This is related to all present modules label Dec 29, 2025
Copy link
Member

@echasnovski echasnovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very neat now! Thank you so much!

@echasnovski echasnovski merged commit 43ec250 into nvim-mini:main Dec 29, 2025
12 checks passed
@TheLeoP TheLeoP deleted the fix_utf branch December 29, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ALL This is related to all present modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve usage of vim.str_utfindex and vim.str_byteindex

2 participants