Re: color scheme for files with arbitrary extensions

2013-06-12 Thread Anton Arkhipov
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

color scheme for files with arbitrary extensions

2013-06-11 Thread Anton Arkhipov
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