xolox / vim-easytags

Automated tag file generation and syntax highlighting of tags in Vim
http://peterodding.com/code/vim/easytags/
1.01k stars 109 forks source link

Dynamic file make tags generation always recursive #146

Open sambonbonne opened 8 years ago

sambonbonne commented 8 years ago

Hi,

I found that if I set g:easytags_dynamic_files to a non-zero value (1 or 2), tags are always generated recursively (which take more than 1 minute on some projects I work on).

I tried to put g:easytags_async to 1, but it take all my CPU for 1 minute so Vim becomes slow (but it's not blocking, at least).

My config for easytags :

let g:easytags_auto_highlight = 0
let g:easytags_on_cursorhold = 0 " disabled because it causes a recursive tag generation
set cpoptions+=d
set tags=./tags;
let g:easytags_dynamic_files = 2

When I set g:easytags_dynamic_files to 0, all work as expected : it takes less than a second. But I want to have one tags file per project.

I use Neovim for editing and Universal Ctags for ctags, which is Exuberant compatible.

I hope this informations will be useful and this issue can be solved. If I can help, let me know :)

talayhan commented 7 years ago

It's very helpful informations, thank u.