nvim: after: ftplugin: Add n & S fields when generating tags
n will tell ctags add a line number filed in each tag record and S means including function signatures. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
254e6754b9
commit
c6bb3ecdfc
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ setlocal foldmethod=syntax
|
|||
setlocal complete-=i
|
||||
setlocal path+=/usr/include/**
|
||||
|
||||
nmap <buffer> <LocalLeader>ct :AsyncDo ctags -R .<CR>
|
||||
nmap <buffer> <LocalLeader>ct :AsyncDo ctags -R --fields=+nS .<CR>
|
||||
nmap <buffer> <LocalLeader>cu :AsyncDo cscope -bqR<CR>
|
||||
nmap <buffer> <LocalLeader>cr :cs reset<CR>
|
||||
|
||||
|
|
Loading…
Reference in a new issue