~/.vim/ftplugin/verilog.vim
with my commands (matchit rules):set filetype?
returns filetype=verilog
:filetype
returns filetype 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)
When running :scriptnames
I can see that that my verilog.vim was loaded, but another verilog.vim was loaded afterwards and overrode my settings.
After moving ~/.vim/ftplugin/verilog.vim
to ~/.vim/after/ftplugin/verilog.vim
it works!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With