GVIM/Ubuntu/Debian Syntax Highlighting

It appears in the Edgy Eft and Debian Etch that Syntax highlighting in gvim has been switched off by default.

To add it back add the following line to /etc/vim/gvimrc

" Also switch on highlighting the last used search pattern.
if has("syntax") && (&t_Co > 2 || has("gui_running"))
syntax on
set hlsearch
endif

November 20, 2006 В· robert В· Comments Closed
Posted in: Debian, Howtos, Ubuntu