Skip to content

Support for Neovim#2

Open
mcepl wants to merge 3 commits intoxyb3rt:mainfrom
openSUSE-Python:neovim
Open

Support for Neovim#2
mcepl wants to merge 3 commits intoxyb3rt:mainfrom
openSUSE-Python:neovim

Conversation

@mcepl
Copy link
Copy Markdown

@mcepl mcepl commented Jan 9, 2026

So far it seems to work more or less fine with my Neovim 0.11.5, but I have already found one bug (see the last commit in this PR), and I would probably rather give it a bit more time (a week or so). If you are not interested in having the plugin useful for both Vim and Neovim users, just let me know, and I will gladly maintain my own Neovim only (and mostly likely Lua-only) fork.

@mcepl mcepl marked this pull request as ready for review January 21, 2026 18:39
@mcepl
Copy link
Copy Markdown
Author

mcepl commented Jan 21, 2026

I think this is actually ready for review, it has been working for me on two versions of Neovim (0.11.5 and the current master). If you are interested that is.

@mcepl mcepl marked this pull request as draft February 25, 2026 22:00
@xyb3rt xyb3rt force-pushed the main branch 2 times, most recently from 5c97abb to 213b00a Compare March 5, 2026 13:45
@xyb3rt xyb3rt force-pushed the main branch 7 times, most recently from 4164c42 to c91d5fd Compare March 29, 2026 12:55
We now use the WinClosed autocmd for this which means that it also
happens when using builtin vim functionality to close the window.
mcepl added 2 commits April 8, 2026 12:29
…ffering

Add Neovim-compatible wrappers for job control (s:JobStop, s:ChanSend,
s:ChanCloseIn, s:ChanSetCallback, s:JobInfo, s:GetJobBufNr), emulate
Vim's 'out_io':'buffer' behavior via s:NvimOut/s:NvimExit callbacks,
handle signal sending via vim.loop.kill, initialize script-local click
variables, fix readdir() call (two parameters, not three), and fix
various Vimscript and callback regressions introduced during porting.
Add AcmeActivate public function and key mappings. Add fallback in
s:RightRelease to use getmousepos() when s:click is uninitialized.
Fix mouse handling for Neovim 0.12+ where normal! with mouse key events
is restricted. Use getline('.') in s:RightRelease for correct
column-based plumbing pattern matching.
@mcepl mcepl marked this pull request as ready for review April 8, 2026 11:37
@mcepl
Copy link
Copy Markdown
Author

mcepl commented Apr 8, 2026

Rebased on the top of the current main branch. As far as I am aware, everything should be now working on Neovim.

Please, review, and let me know if you would consider this PR, or I should go away.

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