Closed mehalter closed 1 month ago
Can't reproduce with the repro. Are you 100% you're on the latest version?
Please try again, the minimal repro.lua
above reproduces the bug perfectly. Here is a recording showing me doing a fresh installation given the code above and walking through:
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
Here are the full version details of the neovim version I am using
NVIM v0.11.0-dev-189+g78d3f4742
Build type: RelWithDebInfo
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info
I have verified that I can also reproduce with the latest nightly
I you run that repro, make sure to update the plugins in the repro as well
nm, you deleted the files
I have verified that I am on the latest.
so weird, it all works fine for me
ok, can reproduce now. First >>
then <<
triggers the error
Do the other way...
I also agree that >>
works as shown in my recording
bisected it to https://github.com/folke/which-key.nvim/pull/600
Will check or revert
reverted for now. had a quick look at that code and it's wrong for sure. will implement it myself
Thanks! Definitely strange you have to indent first, on my end if I just do the exact steps I put in the issue and run <<
even as the first thing in the editor I get the problem
I reverted the PR and just did a proper fix for those nested operators.
Thank you for reporting!
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0 (github release)
Operating system/version
Arch Linux
Describe the bug
It looks like something changed in the processing of mappings in the v2 release that breaks built in mappings such as
<<
to de-indent.Steps To Reproduce
nvim -u repro.lua
, use the minimal reproducing config below<<
, binding for decreasing indentationExpected Behavior
No error and all default mappings should still work.
Repro