Ⅰ. 插件描述
Syntax file for Arduino .PDE filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/arduino-syntax-file'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/arduino-syntax-file'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/arduino-syntax-file'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Arduino-syntax-file
Ⅳ. 文档说明
This syntax file provides syntax highlighting like the Arduino IDE. That is, Arduino specific names like digitalWrite is highlighted in addition to C++ syntax.
The syntax file is automatically generated by my script at http://bitbucket.org/johannes/arduino-vim-syntax
Licensed under the vim license: http://groups.google.com/group/vim_use/browse_thread/thread/bdb036cd8acda1ba/75b353c598a0cd6f?lnk=gst&q=license#75b353c598a0cd6f