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:
parent
7bc8295486
commit
acb5bfcf05
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ setlocal complete-=i
|
||||||
setlocal path+=/usr/include/**
|
setlocal path+=/usr/include/**
|
||||||
setlocal makeprg=ninja\ -C\ build
|
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>cu :AsyncDo cscope -bqR<CR>
|
||||||
nmap <buffer> <LocalLeader>cr :cs reset<CR>
|
nmap <buffer> <LocalLeader>cr :cs reset<CR>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue