Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在多级目录下在nvim中执行gtags --update,执行的目的目录并不在当前目录,而是在父目录下 #935

Open
ly1243667342 opened this issue Jul 26, 2022 · 2 comments

Comments

@ly1243667342
Copy link

如何在当前目录下执行gtags?

@ly1243667342
Copy link
Author

明白怎么回事了,原来是根据目录下的.git 来判断是否在哪个目录下生成。我在当前目录下执行git init后再次执行Leadf gtags --update就可以在当前目录下生成gtags了。能否不判断.git,直接在nvim下的当前目录去生成gtags?谢谢!

@gVimer
Copy link

gVimer commented Jul 29, 2022

自己指定根目录标记 见选项:g:Lf_RootMarkers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants