Closed maxtcy closed 6 years ago
I can't reproduce on both windows and linux.
How should i do to provide more information for you about this problem?
Please provides the following information:
g:gen_tags#ctags_opts
1. vim version ctags version
value of g:gen_tags#ctags_opts
Not quite sure about the answer of it.
Do you mean "keyin what i see popup message in the root folder " ?
ex:$ctags --extras=+r --fields=+niazS -f /folder_path/.git/tags_dir/prj_tags -R /folder_path
Do you mean this way ? If yes, it seems like i manually keyin these command , it can generate the prj_tags out.
THX
I reproduced it with vim 8.1, but neovim 0.3.0 works well. That's weird.
And when I modified your g:gen_tags#ctags_opts
setting.
Modify let g:gen_tags#ctags_opts = ' --fields=+niazS'
to let g:gen_tags#ctags_opts = '--fields=+niazS'
Just remove the space before --fields
It works... WTF
Hi Sir,
how about multiple g:gen_tags#ctags_opts
As you can see, there are several opts marked out in my setting.
If i would like to use more than 1 opts, Is my setting correct ?
THX
I'm not sure the meaning of multiple g:gen_tags#ctags_opts
.
Can you explain?
As screen-shot show in the below , only --fields=+niazS
, there are 5 opts more , i just marked out.
Your setting is correct.
But as I said above, vim has some issues to support your first line.
You need to remove the space before --fields
Hi Sir, Can you hlep me try it with all my setting?
Since i still encounter some error, but if i key in in command in the terminal. There is no such error.
If save file, it would pop up below error in my side. ctags: Warning: Unsupported parameter ' ' for "fields" option ctags: Warning: Unsupported parameter '=' for "fields" option ctags: Warning: Unsupported parameter 'q' for "fields" option ctags: Warning: Unsupported parameter ' ' for "fields" option ctags: Warning: Unsupported parameter 'c' for "fields" option ctags: Warning: Unsupported parameter 'd' for "fields" option ctags: Warning: Unsupported parameter '=' for "fields" option ctags: Warning: Unsupported parameter ' ' for "fields" option ctags: Warning: Unsupported parameter 'c' for "fields" option ctags: Warning: Unsupported parameter 'd' for "fields" option ctags: Warning: Unsupported parameter '=' for "fields" option
I tried all your ctags_opts yesterday, but it works for me.
@maxtcy I refactor this part for better compatibility. Please try the latest code. Thanks
Will try it later. Stack in the middle of something
Jia Sui notifications@github.com 於 2018年6月14日 週四 上午11:01寫道:
@maxtcy https://github.com/maxtcy I refactor this part for better compatibility. Please try the latest code. Thanks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jsfaint/gen_tags.vim/issues/56#issuecomment-397155126, or mute the thread https://github.com/notifications/unsubscribe-auth/AHIBFJx1rlYa-kvKL11K-eA518ACd_bvks5t8dIMgaJpZM4UlxIA .
Hi Sir,
Thanks for your support to refactor. There is no problem after test it. Both string and list are working fine.
Thanks ,
Thanks for your contribution to make gen_tags.vim
better 👍
Hi Sir,
gen_tags.vim version is It shoud be the latest one.
If add
g:gen_tags#ctags_opts
in my vimrc, it would pop upctags: -f option may not follow a file name
Message as belowAs comparison, Remove
g:gen_tags#ctags_opts
in vimrc , there is no such message popup.Right now, i am remove it as workaround. Since there is no such issue in previous version. Can you take a look ?