2017-05-16 22:37:51 +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.
|
|
|
|
|
2017-05-17 21:52:30 +02:00
|
|
|
Requirements
|
|
|
|
============
|
2017-05-16 22:37:51 +02:00
|
|
|
|
2017-05-17 21:52:30 +02:00
|
|
|
- Python3
|
2017-05-16 22:37:51 +02:00
|
|
|
|
2017-05-18 09:28:46 +02:00
|
|
|
- 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.
|
|
|
|
|
2017-05-17 22:55:09 +02:00
|
|
|
Options
|
|
|
|
=======
|
2017-05-16 22:37:51 +02:00
|
|
|
|
2017-05-17 22:55:09 +02:00
|
|
|
All options are set through::
|
2017-05-16 22:37:51 +02:00
|
|
|
|
2017-05-17 22:55:09 +02:00
|
|
|
let g:neotags_option_name = value
|
2017-05-16 22:37:51 +02:00
|
|
|
|
2017-05-17 22:55:09 +02:00
|
|
|
The following options are available:
|
2017-05-16 22:37:51 +02:00
|
|
|
|
2017-05-17 22:55:09 +02:00
|
|
|
- ``let g:neotags_tags_filename = "tags"``
|
|
|
|
Defines which file name the generated tags file has.
|
2017-05-16 22:37:51 +02:00
|
|
|
|
2017-05-17 22:55:09 +02:00
|
|
|
- ``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.
|
2017-05-19 16:52:06 +02:00
|
|
|
|
|
|
|
Development
|
|
|
|
===========
|
|
|
|
|
|
|
|
Install dependencies:
|
|
|
|
|
2017-08-07 09:05:17 +02:00
|
|
|
- ``pip install pyfakefs==3.1``
|
2017-05-19 16:52:06 +02:00
|
|
|
|
|
|
|
Run tests:
|
|
|
|
|
|
|
|
``cd rplugin && python -m unittest test.test_neotags``
|