Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Clarity for ag use in readme.md #16

Closed
bearcatsandor opened this issue Aug 26, 2017 · 2 comments
Closed

Clarity for ag use in readme.md #16

bearcatsandor opened this issue Aug 26, 2017 · 2 comments

Comments

@bearcatsandor
Copy link

The way the following is written is unclear to me:

To use the_silver_searcher or similar applications when generating tags you can do something like this.

let g:neotags_appendpath = 0
let g:neotags_recursive = 0

" Use this option for the_silver_searcher
let g:neotags_ctags_bin = 'ag -g "" '. getcwd() .' | ctags'
" Or this one for ripgrep. Not both.
let g:neotags_ctags_bin = 'rg --files '. getcwd() .' | ctags'
let g:neotags_ctags_args = [
\ '-L -',
\ '--fields=+l',
\ '--c-kinds=+p',
\ '--c++-kinds=+p',
\ '--sort=no',
\ '--extras=+q'
\ ]

Is the ctags_args setting applicable to both the ag and the ripgrep setup?

@c0r73x
Copy link
Owner

c0r73x commented Aug 28, 2017

Hi, yes all except the ctags_bin is for ripgrep or the_silver_searcher. I will change the readme to make it clearer.

@bearcatsandor
Copy link
Author

Thank you

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

No branches or pull requests

2 participants