Whenever I have to do things like this: closeparens = )]} or /[)\]}]/ it messes up the parenthesis tracking of the whole file. I could mitigate this with comments:# complement to ([{ (this is not at all to help with vim's highlighting)local closeparens=}])# don't mind me, just gonna put these here: (((case $X in   a) echo 1 ;;   b) echo 2 ;;   c) echo 3 ;;esacBut I'd rather not modify my code because of my text editor.How would I go about configuring this?No need for an easy answer, if I have to modify the gosh darned source code of vim I will. Just any sort of pointer on where to start would be nice.(no plugins please, I suffer from libphobia. Also I like messing with vimscript and have a lot of free time at the moment)
How can I stop [Neo]Vim from tracking parens in certain situations?
delimiter matching
You are looking for matchit-zipThe matchit.vim script allows you to configure % to match more than just single characters.  You can match words and even regular expressions. Also, matching treats strings and comments (as recognized by the syntax highlighting mechanism) intelligently.also:Since vim 6.0, matchit.vim has been included in the standard vim distribution, under the macros/ directorybut IMO it's easier to install the plugin linked above.