As far as I can tell from your question, you're attempting to use the
matchit plugin in a Systemverilog file and it's not working how you'd expect.
If you edit your question to be more specific about exactly what you're doing and what you're expecting to happen I can be more specific in my advice. Still, the following part of your
vimrc stands out:
runtime lines in your
vimrc aren't the recommended way of enabling plugins (and don't do what I'm guessing you think they do).
How to enable matchit
If you're running Vim 8, then you enable matchit by adding the following line to your
If you're still on Vim 7, then instead of editing your
vimrc, you install matchit by running the following commands from an existing Vim instance:
:!cp $VIMRUNTIME/macros/matchit.vim ~/.vim/plugin
:help matchit for more details.
In order to use Vim's standard configuration for Systemverilog you just need to enable Vim's syntax and/or filetype plugins, and then ensure that the
'filetype' is set to
systemverilog when editing a Systemverilog file.
You can do this manually by running the command
:set ft=systemverilog from a Systemverilog file, but since you've turned on filetype detection, Vim will automatically set the
systemverilog and load its filetype/syntax/indent files when you open any file with an
:help filetype for more details, and
:help new-filetype if you need Vim to detect Systemverilog files that don't have an