Neovim plugin to update tags file using ctags
Find a file
2020-04-27 09:19:57 +00:00
rplugin Migrate pep8 to pycodestyle 2020-04-27 11:16:33 +02:00
.gitlab-ci.yml Migrate pep8 to pycodestyle 2020-04-27 11:16:33 +02:00
Dockerfile Migrate pep8 to pycodestyle 2020-04-27 11:16:33 +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