nvim: ftplugin: C: Update tag generation command

For correct preview with FZFTags, this is needed to help locate the line
position of the tag.
This commit is contained in:
Sanchayan Maity 2020-11-05 19:17:54 +05:30
parent 7bc8295486
commit acb5bfcf05

View file

@ -5,7 +5,7 @@ setlocal complete-=i
setlocal path+=/usr/include/**
setlocal makeprg=ninja\ -C\ build
nmap <buffer> <LocalLeader>ct :AsyncDo ctags -R --fields=+nS .<CR>
nmap <buffer> <LocalLeader>ct :AsyncDo ctags -R --fields=+nS --excmd=number .<CR>
nmap <buffer> <LocalLeader>cu :AsyncDo cscope -bqR<CR>
nmap <buffer> <LocalLeader>cr :cs reset<CR>