Ⅰ. 插件描述
ARMv4 through 7 syntax highlighting for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'arm9/arm-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'arm9/arm-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'arm9/arm-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/arm9/arm-syntax-vim
Ⅳ. 文档说明
# arm-syntax-vim
GNU ARM assembly syntax highlighting (up to v7), for the vim text editor.

Installation
Copy the syntax folder into your ~/.vim folder
with Plug
Plug 'ARM9/arm-syntax-vim'or with Pathogen
Clone this repo into your ~/.vim/bundle directory.
git clone https://github.com/ARM9/arm-syntax-vim.gitUsing
In your .vimrc:
au BufNewFile,BufRead *.s,*.S set filetype=arm " arm = armv6/7or add this line at the top or bottom of your assembly file(s):
@ vim:ft=armv5