autolist.nvim icon indicating copy to clipboard operation
autolist.nvim copied to clipboard

v3.0: recalculation freezes Neovim

Open linduxed opened this issue 2 years ago • 4 comments

Updating to v3.0 (i.e. https://github.com/gaoDean/autolist.nvim/commit/f40a5dd694b8e9f1125efa731cc6d0662a34af90) has resulted in recalculation freezing the Neovim instance. I'm not sure what the plugin is stuck doing, nor am I sure how to debug it.

Triggering the behaviour is as simple as being in Insert-mode, placing the cursor on a bullet, then pressing Tab.

linduxed avatar Jul 03 '23 20:07 linduxed

@linduxed Hi, I can't get this to happen. Can you send over your config? It doesn't have to be the minimal only autolist one but could you send over your autolist config along with any other plugins that use , such as autocomplete plugins? Also, could you send the file to reproduce this with?

Thanks

gaoDean avatar Jul 03 '23 22:07 gaoDean

The autolist config that runs on v3.0 can be found here: https://github.com/linduxed/dotfiles/blob/neovim--autolist--latest_config_format/config/nvim/init.lua#L73-L103

Generally, my config for Neovim can be found here: https://github.com/linduxed/dotfiles/tree/neovim--autolist--latest_config_format/config/nvim

The file does not seem to matter, as long as autolist is loaded. Any Markdown file seemed to be enough to trigger the behaviour.

linduxed avatar Jul 04 '23 22:07 linduxed

Hi @linduxed, sorry I'm a bit busy atm, could you try autolist with the minimal config option? I think its nvim -u or something like that.

gaoDean avatar Jul 07 '23 11:07 gaoDean

@linduxed I changed over to this commit to try this out. My config (using <tab> for indentation) does not freeze, which tipped me off that it may be mapping specific. I then tried your config and it does, specifically the <C-T> mapping because the <C-D> mapping works fine for me. So, I moved back to main from that commit and tried your config again and it freezes there too. It appears to me, at first glance, to be an issue with that specific keymap.

mcauley-penney avatar Dec 30 '23 16:12 mcauley-penney