Neovim plugin to update tags file using ctags
Find a file
2020-04-27 11:06:55 +02:00
rplugin Update tests 2020-04-27 11:06:55 +02:00
.gitlab-ci.yml Build docker image only on change 2020-04-24 12:04:48 +02:00
Dockerfile Migrate to pynvim 2019-05-07 09:30:32 +02:00
readme.rst Update tests 2020-04-27 11:06:55 +02:00

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==3.1

Run tests:

docker run -it --rm -v $PWD/rplugin:/project -w /project registry.gitlab.com/danielsiepmann/neotags:latest python -m unittest test.test_neotags