Open ottijp opened 3 weeks ago
Thanks for your report. I could reproduce this issue.
I think this issue is probably hard to fix. I have no idea why using with ALE causes this issue, and why vim is no problem.
Workaround is using <C-g>U<Right>
instead of just <Right>
. (See also :help i_CTRL-G_U
)
<Right>
(or any other cursor move keys) will break undo block. I think undo block is related to this issue.
Thank you for your investigation. Although I don't fully understand the details about the undo block, I have confirmed that the workaround works.
By the way, I really appreciate your efforts in developing and maintaining this handy plugin. It helps me every day! 😀
I found a unexpected behaviour on Neovim when using this plugin with ALE. I'm not sure which causes this problem.
I would like to know how to fix this problem or if there is a workaround.
Problem
When I insert
[]
on each line in visual mode, the expected result is as follows:However, I got the following result:
https://github.com/user-attachments/assets/84ecc2ec-6f3c-467c-8120-86449b4d3688
This only occurs when I insert
[]
(with an additional space after the closing square bracket), but not when I insert[]
.Reproduction
Before starting NeoVim:
My
init.vim
:Start NeoVim:
And type the following:
Environment
The problem occurs only in combination of Neovim and ALE.