Neovim plugin to update tags file using ctags
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Daniel Siepmann 9655fb6b99 Merge branch 'feature/update' into 'master' 2 years ago
rplugin Migrate pep8 to pycodestyle 2 years ago
.gitlab-ci.yml Migrate pep8 to pycodestyle 2 years ago
Dockerfile Migrate pep8 to pycodestyle 2 years ago
readme.rst Update tests 2 years ago

readme.rst

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