Ⅰ. 插件描述
Another GNU Flymake-like plugin for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/flymaker'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/flymaker'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/flymaker'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/flymaker
Ⅳ. 文档说明
* Please drop me an email to report any bugs/issues that you find. That can
greatly reduce the time until this thing becomes stable. See my profile for the
address. Thanks! *
GNU Flymake allows Emacs users to perform compilation, static analysis, and
other tools in the background as they develop. Upon each save, a
background process is kicked off to perform the checking. If errors are
identified, the lines containing the error are highlighted and a tooltip
provides the error message. This is very well-suited to feature development
where the developer spends a lot of time in a single buffer.
I can see the value in this fast-paced workflow but I don't use Emacs.
There have been a few attempts to bring this functionality to Vim but each
of them seem to have their limitations. This plugin attempts to overcome
them.
For more detailed information (including outstanding issues), install and check out:
:help flymaker
Screenshots:
http://i1177.photobucket.com/albums/x344/seymore15074/Flymaker1.png
http://i1177.photobucket.com/albums/x344/seymore15074/Flymaker2.png
(BTW, that cool statusline is from pwdstatus.vim!)