Tuesday, November 29, 2011

Vim Syntax Highlighting en Squeeze

Para activar la opción que nos permite reconocer y colorear archivos de distintas extensiones, se edita el archivo vimrc el cual se encuentra en /etc/vim/vimrc/

$vi /etc/vim/vimrc/

y dentro del archivo se quita el comentario a syntax on:

" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
" syntax on

queda como:

" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on

No comments: