Thanks a lot, Ben and Christian.
After all, it turned out that my vim did look into .vimrc that I created, but
apparently commands I used there weren't adequate. The following single line
in .vimrc did the job:
au BufRead,BufNewFile *.hoc setfiletype c
I used this line after reading
Hello,
I am having trouble enabling a color scheme when using vim with *hoc files. I
am trying to use the c color scheme, and I can do that using ā:set syntax=cā
inside the vim session, but only for that one session. I'd like to do that for
any session automatically.
I tried to add the