PDA

View Full Version : vim syntax


sebastijan
08-19-2005, 08:30 PM
How to enable vim syntax for php... i have file php.vim in /syntax folder and...

:syntax enable
:syntax on

I tried also with file .vimrc and doesn't help unfortunately.

(i use Mac OS X 10.4 (xterm-color) and Vim 6.2 in /Terminal.app)

semi-fly
08-28-2005, 08:09 PM
Originally posted by sebastijan
How to enable vim syntax for php... i have file php.vim in /syntax folder and...

:syntax enable
:syntax on

I tried also with file .vimrc and doesn't help unfortunately.

(i use Mac OS X 10.4 (xterm-color) and Vim 6.2 in /Terminal.app)
I'd scan the VIM documentation:
http://vimdoc.sourceforge.net/htmldoc/syntax.html
might be some information on PHP syntax highlighting.