In my Linux machine files with the .sv
extension opens up by default with the verilog syntax highlighting scheme, however extension with .v
or .vs
don't.
I have to manually in gvim do a :set syntax=verilog
every time I open one of these files.
How do I make those file extensions .v
or .vs
open up in a verilog syntax highlighting by default ?
Thanks
~/.vim/filetype.vim
; see:help new-filetype
. (~/.vimrc
mostly works, too.) – Barbarism