vim syntax

Posted:
in Mac Software edited January 2014
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)

Comments

  • Reply 1 of 1
    Quote:

    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.
Sign In or Register to comment.