On Thu, May 3, 2012 at 10:34 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:
> It shouldn't, without a syntax/php.vim file somewhere. As noted, this file is only sourced as-needed; is the output of the :scriptnames command you gave from a Vim with the php file loaded and syntax highlighting on as you describe? In that Vim, what does this command say?
>
The PHP syntax is probably being sourced from whatever the default is
in /etc or /usr
> :verbose set syntax? filetype?
>
syntax=php
Last set from /usr/share/vim/vim73/syntax/syntax.vim
filetype=php
Last set from /usr/share/vim/vim73/filetype.vim
> And what is the value of b:current_syntax?
>
I'm not sure what you mean by that. What command exactly should I be running?
Thanks.
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Thursday, May 3, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment