Ⅰ. 插件描述
Syntax highlighting for ARM assemblerⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'alisdair/vim-armasm-already-like-death'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'alisdair/vim-armasm-already-like-death'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'alisdair/vim-armasm-already-like-death'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/alisdair/vim-armasm
Ⅳ. 文档说明
vim-armasm
About
Fork of vim-script#888.
This plugin provides syntax highlighting for ARM assembly language.
It includes V2, V3, V4, V5, T, E, M, XS, and VFP extensions, but no V6 or T2 syntax.
It is based on Aleksandar Veselinovic's PIC16F84 Assembler syntax file (pic.vim in the standard installation).
Authors
Original author: Gerald Williams
Merged contributions from existent github repos:
Installation
Copy to $HOME/.vim/syntax or $VIM/vimfiles/syntax.
Open a buffer with ARM assembly source, and run:
:call SetSyn("armasm")
You may want to consider adding the following to your .vimrc as well:
let asmsyntax='armasm'
let filetype_inc='armasm'