Yggdroot / LeaderF

An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
Apache License 2.0
2.13k stars 180 forks source link

Why the gtags in the ~/.LfCache/gtags is empty? #970

Closed boyjoy1127 closed 1 year ago

boyjoy1127 commented 1 year ago

Why the gtags in the ~/.LfCache/gtags is empty?

directory in ~/.LfCache/gtags is empty '~/.cache/tags' is not empty. There is GTAGS in the directory. Could I configure Leaderf to use that GTAGS path? and how?

### Describe your question, feature request, or bug.
Fail to execute 'Leaderf gtags --update', result is below:

gtags: unrecognized option '--skip-symlink' Usage: gtags [-ciIOqvw][-d tag-file][-f file][dbpath] gtags error!



### Steps to reproduce
Leaderf gtags --update

### Actual behaviour
directory in `~/.LfCache/gtags` is empty
'~/.cache/tags' is not empty.  There is GTAGS in the directory.
Could I configure Leaderf to use that GTAGS path? and how?

### Expected behaviour
Yggdroot commented 1 year ago

let g:Lf_GtagsHigherThan6_6_2 = 0

swordligit commented 1 year ago

I also have this isuse, and the

let g:Lf_GtagsHigherThan6_6_2 = 0

works indeed, but that is strange,my gtags version is higher than 6.6.2.

gtags --version
gtags (Global) 6.6.7
Powered by Berkeley DB 1.85 and SQLite3 3.37.2.
Copyright (c) 1996-2021 Tama Communications Corporation
License GPLv3+: GNU GPL version 3 or later <http://www.gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

does the Lf_GtagsHigherThan6_6_2 not mean the gtags version?