4

Upon opening vim in my terminal, I receive this error

Error detected while processing CursorMoved Autocommands for "*"..function <SNR>
6_Highlight_Matching_Pair:

It repeats multiple times upon launch vim, then I can access vim however any movement (lkjh) causes the error to occur more.

I have deleted my .vimrc, updated my vim via brew. Neither has had any affect, vim is my go to IDE because I have it set up with plug ins in a efficient way that I prefer for programming.

Can someone please help me figure out what is occurring? Also, possibly important info I recently ran a brew update to update everything in my package manager.

yudhiesh
  • 6,383
  • 3
  • 16
  • 49
ReillyC52
  • 55
  • 4
  • 1
    This is due to a bug in VIM; a patch will be distributed once https://github.com/Homebrew/homebrew-core/pull/68064 is merged. – mhutter Dec 31 '20 at 07:13

1 Answers1

4

Inside vim you can try using :scriptnames to get the list of loaded scripts and determine what files could be causing the issue. You can also check if vim can load without loading any additional scripts by launching with vim -u NONE.

Ric
  • 8,615
  • 3
  • 17
  • 21
  • Using the script names suggestion I found the files in my /usr/ dir that were still activate, removed them, and re implemented my vimrc which brought my vim back to a working state. Many thanks!!! – ReillyC52 Dec 31 '20 at 03:21