vim-php54-syntax


Ⅰ. 插件描述

php 5.4 syntax for vim

Ⅱ. 基本信息

创建日期:  2012-06-18
使用用户:  7
Github星:  3
插件作者:  Erwin Poeze

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'donnut/vim-php54-syntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'donnut/vim-php54-syntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'donnut/vim-php54-syntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/donnut/vim-php54-syntax

Ⅳ. 文档说明

## About
Vim syntax file for php 5.4

Generated using the script of Paul Garvin: http://www.vim.org/scripts/script.php?script_id=2874

Installation

  • Using [Vundle]:

    • Add the following line to your .vimrc file:
    • Bundle 'donnut/vim-php54-syntax'
    • Launch vim and run :BundleInstall

    If you have a php.vim file in your ~/.vim/syntax directory, remove it. Otherwise it will be loaded instead of the Vundle installed syntax file.

  • Manually:

    • Copy the php.vim file to your ~/.vim/syntax directory.
    • Launch vim

添加新评论