Not working out of the box
In my neovim setup I added neotags.lua as a plugin, and also called 'setup'
In my c++ codedir I check up that :set ctags? prints ~/.vim_tags as expected - which shows that the plugin is loaded
Any attempt to use <C-]> fails with message "No tags file is found". Filesystem inspection confirms this.
I tried to call 'neotags.toggle' and 'neotags.update' manually - but also with no further success.
So the question is - how to make this plugin do it's job?
Btw, if I start w/o the plugin loaded - tags work out of the box, but no updates happen. xolox/easytags did the job.
Could you set ctags.verbose = true in the setup, that should show the output from ctags incase there is something strange with versions 🤔
You shouldnt have to use a separate plugin for creating/loading tags if you dont want to, neotags should do this for you. But it should work with any tag plugin since it reads the tags that neovim has loaded.
while ctags.verbose is set - nvim's stdout is busy with endless messages 'ctags: cannot open tag file : No such file or directory' it's being printed and printed and printed - forever if verbose is set to false - then neovim with neotags enabled eats processor in the background, i beleive, it silently does the same useless job here is the settings i call setup with: { enable = true, ctags = { run = true, directory = '~/.cache/nvim/ctags', verbose = false } } neovim version (manually compiled): NVIM v0.7.2 Build type: Release LuaJIT 2.1.0-beta3 Features: +acl +iconv +tui
I see, you probably want to use directory = vim.fn.expand('~/.cache/nvim/ctags')