I'm trying to figure this out:
- Added
~/.vim/ftplugin/verilog.vim
with my commands (matchit rules) - Started gvim and opened a verilog file.
Now::set filetype?
returnsfiletype=verilog
:filetype
returnsfiletype detection=ON plugin=ON indent=OFF
At this point it looks like verilog.vim wasn't loaded (matchit doesn't match).
Only when running :source ~/.vim/ftplugin/verilog.vim
- my commands are loaded (and matchit match correctly)