I have a neovim with lots of plugins, and macros are broken. After I record them and I try to run them they stop in the middle, and won’t replay every action I did.

My guess is that some plugin is breaking it, I noticed that autocompletition is usually not working, so I avoid it. My question is how can I find any other plugins that break it, and fix it?

  • cd_slash_rmrf@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    without more information, the most straightforward way is to disable your plugins one at a time and test if things are working (could go the other direction: start from no plugins, and install them one at a time). do this by commenting/uncommenting lines in your config and rerunning sync/clean/install or whatever with your plugin manager.

    ideally youd have some idea about what specifically is breaking for you. since you say completion maybe start with whatever you use for that (cmp, mason setup, coc, deoplete, ycm)?

    edit: forgot to say, but if you post your config that could be helpful in case there’s an obvious err somewhere. is it all macros that fail or only some with specific motions?

  • Howard Do@programming.devM
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    If you suspect plugins break your macros, do a binary chop disable plugins until you find the culprit. That’s what I usually do.