pylint-vim


Ⅰ. 插件描述

Pylint command for vim

Ⅱ. 基本信息

创建日期:  2016-12-10
使用用户:  3
Github星:  4
插件作者:  Roman Dobosz

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'gryf/pylint-vim-he-is-going'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'gryf/pylint-vim-he-is-going'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'gryf/pylint-vim-he-is-going'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Pylint-vim

This is simple vim plugin, which provide command :Pylint which check for
linting issues in python code on current buffer.

Unlike any other available vim-pylint plugins, it doesn't parse output of
pylint command line tool, but relies on pylint module, so it make that
dependency on this plugin.

This plugin is kind of deprecated, although I used to use it very often. As an
alternative you can consider Syntastic_.

Installation

To use this plugin either +python or +python3 feature compiled in vim is

  1. To check it, issue :version in vim instance and look for python
    entries.

To install it, any kind of Vim package manager can be used, like NeoBundle_,
Pathogen_, Vundle_ or vim-plug_.

For manual installation, copy subdirectories from this repository to your
~/.vim directory.

Now you'll have new command :Pylint which in case of any errors or warnings
will display quickfix window with appropriate errors.

License

This work is licensed on 3-clause BSD license. See LICENSE file for details.

.. _Pathogen: https://github.com/tpope/vim-pathogen
.. _Vundle: https://github.com/gmarik/Vundle.vim
.. _NeoBundle: https://github.com/Shougo/neobundle.vim
.. _vim-plug: https://github.com/junegunn/vim-plug
.. _Syntastic: https://github.com/vim-syntastic/syntastic

添加新评论