Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dimatura/spin-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dimatura/spin-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dimatura/spin-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dimatura/spin.vim
Ⅳ. 文档说明
# spin.vim
This is the git repo for my (old, incomplete) Spin syntax file. The Vim scripts
page is here.
script type
syntax
description
This is a syntax file for the Spin language, designed by Parallax for the
Propeller microcontroller.
Now there's cross-platform command line tools to upload your Spin programs to
the Propeller, so you don't need the Propeller IDE (and hence, Windows) to use
it.
I based this syntax file on the syntax file for the Python language, since the
languages have certain similarities.
install details
The easiest way is to put spin.vim in your .vim/syntax directory and add
something like the following to your .vimrc:
au BufRead,BufNewFile *.spin set filetype=spin
au! Syntax spin source $HOME/.vim/syntax/spin.vim
Daniel Maturana - dimatura@cmu.edu