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
    link
    4
    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?

    • @[email protected]OP
      link
      fedilink
      11 year ago

      Here is my config, its ugly and old: https://gitlab.com/catlover_stuff/nvim-config

      I’ll try to find an example macro that fails, usually I try to avoid complex stuff during recording one, like: using autocomplete or plugin commands.

      My guess is that either kylechui/nvim-surround or windwp/nvim-ts-autotag kicks in during typing, but doesn’t during replaying a macro