Ⅰ. 插件描述
Delphi syntax highlighting for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'rkennedy/vim-delphi-sad-beautiful-tragic'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'rkennedy/vim-delphi-sad-beautiful-tragic'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'rkennedy/vim-delphi-sad-beautiful-tragic'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/rkennedy/vim-delphi
Ⅳ. 文档说明
# Delphi syntax highlighting for Vim
Vim comes with a Pascal syntax highlighter, but it fails with most Delphi code. For one thing, it doesn't recognize comments that start with two slashes. It also doesn't recognize newer keywords. This project aims to improve things.
Install
This is a Pathogen bundle, so the the easiest way to install it is to clone this project directly into your bundle directory:
cd ~/.vim/bundle
git clone git://github.com/rkennedy/vim-delphi.git