neotags


Ⅰ. 插件描述

Neovim plugin to update tags file using ctags Star

Ⅱ. 基本信息

创建日期:  2017-05-16
使用用户:  0
Github星:  0
插件作者:  Daniel Siepmann

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'danielsiepmann/neotags'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'danielsiepmann/neotags'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'danielsiepmann/neotags'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

About

Basic ctags auto update plugin for Neovim.

Makes use of neovims async plugin API, so non blocking.

Will not use some checks but lookup the whole path to find tags file.

Requirements

  • Python3
  • Neovim

Installation

See https://github.com/neovim/python-client/#installation and:

You need to run :UpdateRemotePlugins in nvim for changes in the specifications to have effect. For details see :help remote-plugin in nvim.

Options

All options are set through::

let g:neotags_option_name = value

The following options are available:

  • let g:neotags_tags_filename = "tags"
    Defines which file name the generated tags file has.
  • let g:neotags_ctags_cmd = "ctags"
    Defines the binary to use for generation.
  • let g:neotags_logging = 0
    Defines whether to log anything to vims messages.

Development

Install dependencies:

  • pip install pyfakefs

Run tests:

cd rplugin && python -m unittest test.test_neotags

添加新评论