arm-syntax-vim


Ⅰ. 插件描述

ARMv4 through 7 syntax highlighting for vim

Ⅱ. 基本信息

创建日期:  2015-03-08
使用用户:  31
Github星:  28
插件作者:  soup

Ⅲ. 安装方法

使用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.

A thousand words

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.git

Using

In your .vimrc:

au BufNewFile,BufRead *.s,*.S set filetype=arm " arm = armv6/7

or add this line at the top or bottom of your assembly file(s):

@ vim:ft=armv5

添加新评论