HTTP/1.1/GET Tue, 09 Feb 2010 00:12:27 +0000
URL » www.hafenscher.net/wiki/index.php?page=Enable_syntax_highlighting_in_Vim

Wiki › Linux, Mac OS X, Windows and more.

Page: Enable syntax highlighting in Vim

ENABLE SYNTAX HIGHLIGHTING IN VIM
This is the crucial line to enable syntax highlighting in vim

Edit .vimrc in your home directory and add the following line

:syntax enable


Next time you start vim it should display file contents with syntax highlighting. If it still does not there might be an additional vim package missing. On debian systems the syntax highlighting seems to be working after installing the package vim-runtime.


© 2000 - 2010 Wolfgang Hafenscher
About   Impressum   Disclaimer

Online Consulting

validate
# 20001