snes-syntax-vim


Ⅰ. 插件描述

vim syntax highlighting for 65816, SuperFX and spc700 assembly

Ⅱ. 基本信息

创建日期:  2014-06-02
使用用户:  3
Github星:  10
插件作者:  soup

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Syntax highlighting for 65816, spc700 and SuperFX assembly, for the vim text editor.

Installing

Copy /syntax into ~/.vim
or with Pathogen
Clone this repo into your ~/.vim/bundle directory.

git clone https://github.com/ARM9/snes-syntax-vim.git

Using

In your .vimrc:

au BufNewFile,BufRead *.asm,*.inc set filetype=snes

and/or put this line near the top or bottom of your assembly file(s):

; vim: ft=name

Where name is one of the following: 65816, spc700, gsu (for SuperFX) and snes for all of the above.

添加新评论