3

The vim version on my faculty cluster has a great feature in highlighting the syntax for Linux standard configuration files (like /etc/network/interfaces or httpd.conf).

I've tried a lot of settings and options in the way to obtain the same behavior, but nothing helps.

Any ideas?

Thank you! :)

5
  • 1
    If you can detail what you tried it could be an help for the reply.
    – dervishe
    Commented Jan 9, 2016 at 15:13
  • I tried to enable syntax highlight, update vim, install it from multiple sources that was promising a very complete addons stack to be included. Commented Jan 9, 2016 at 15:16
  • 1
    did you tried syntax on in your ~/.vimrc ?
    – dervishe
    Commented Jan 9, 2016 at 15:19
  • 1
    Possibly wider vi audience at vi.stackexchange.com
    – Jeff Schaller
    Commented Jan 9, 2016 at 15:30
  • @dervishe you should submit that as an answer!
    – Harv
    Commented Jan 9, 2016 at 17:39

1 Answer 1

0

Put: syntax on in your ~/.vimrc file

2
  • 1
    Already did that. It dosen't work for as much files as the one on the faculty cloud. Commented Jan 10, 2016 at 20:42
  • 1
    You can look into your /usr/share/vim/vim74/syntax directory. Here you can find the coloration syntax file for each supported format. Perhaps some are missing.
    – dervishe
    Commented Jan 10, 2016 at 23:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .