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

Ffi curwin fix #1

Merged
merged 3 commits into from
May 29, 2024
Merged

Ffi curwin fix #1

merged 3 commits into from
May 29, 2024

Conversation

bbjornstad
Copy link
Owner

No description provided.

…ixes anuvyklack#38

As noted by @cassava, as of a recent version of this plugin, the
`curwin_col_off` function was removed, leaving us to fend for ourselves.
Luckily, @cassava also proposed a fix, the likes of which seems to work on my
machine and from the limited reports, other individuals' machines as well.

This commit simply implements the patch specified by @cassava as the solution to
issues related to `curwin_col_off` no longer existing.
Not only was the original function `curwin_col_off` deprecated and removed, but
we also have a number of recent deprecations related to vim operations on
tables. In this case, we need to get rid of calls to `tbl_flatten` and replace
them with `vim.iter():flatten():totable()` wrappings
@bbjornstad bbjornstad merged commit 76af479 into master May 29, 2024
@bbjornstad bbjornstad deleted the ffi_curwin_fix branch May 29, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant