align.nvim
align.nvim copied to clipboard
[BUG] Using align causes all splits to collapse.
Usage:
rekey_visual('<Leader>A', '<cmd>lua require("align").align_to_string({ preview = true, regex = false, reverse = false })<cr>') -- align from left.
rekey_visual('<Leader>a', '<cmd>lua require("align").align_to_string({ preview = true, regex = false, reverse = true })<cr>') -- align from right.
When I press my combo to align, all my splits are closed immediately after I input any character.
Should be temporary, align uses a temporary buffer to display the preview so that it doesn't pollute the undotree.
@voronind-com Did you solve it? I have the same problem.
update: my current workaround is to use the older commit 2004d26.