asm8051.vim


Ⅰ. 插件描述

Syntax for 8051 Assembly (some IAR specifics)

Ⅱ. 基本信息

创建日期:  2006-09-22
使用用户:  3
Github星:  2
插件作者:  Keith Richeson

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

To my surprise I could not find a syntax file for 8051 assembly.  So I started with vimscript#966 (which was apparently derived from the asm68k syntax) and derived this syntax file.

The assembler directives and such are IAR specific b/c that is the toolset that I am currently using.  Feel free to expand with support for Keil and/or SDCC.

添加新评论