Ⅰ. 插件描述
gnu as mips syntax highlighting for the vim text editorⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'arm9/mips-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'arm9/mips-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'arm9/mips-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/arm9/mips-syntax-vim
Ⅳ. 文档说明
Gnu as mips syntax highlighting 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/mips-syntax-vim.gitUsing
In your .vimrc:
au BufNewFile,BufRead *.s,*.S set filetype=mipsand/or put this line near the top or bottom of your assembly file(s):
# vim:ft=mips