On Thu, Nov 6, 2014 at 12:47 AM, Gary Johnson <[email protected]> wrote:
> The php_folding variable controls the behavior of the syntax/php.vim > file, not the ftplugin/php.vim file. Also, if you have > > syntax on > > in your ~/.vimrc before > > filetype plugin on > > then syntax/php.vim will be sourced before ftplugin/php.vim or > after/ftplugin/php.vim. > > You can see which files are sourced and in what order by executing > > :scriptnames > > This is easier than putting special variables in your plugins. > > You could solve the problem by putting those :let commands in > ~/.vim/syntax/php.vim or by putting "filetype plugin on" ahead of > "syntax on" in your ~/.vimrc. Thanks, the problem was indeed having syntax on before filetype plugin indent on switching their position fixed the issue. -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
