nvim: after: ftplugin: C: Set makeprg to ninja
For C, we now work on pulseaudio, gstreamer and pipewire projects which all use meson and ninja, so set makeprg to ninja build command.
This commit is contained in:
parent
ff13f829e5
commit
78447af8df
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ setlocal foldmethod=syntax
|
||||||
" Scanning included files when ^n is troublesome
|
" Scanning included files when ^n is troublesome
|
||||||
setlocal complete-=i
|
setlocal complete-=i
|
||||||
setlocal path+=/usr/include/**
|
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 .<CR>
|
||||||
nmap <buffer> <LocalLeader>cu :AsyncDo cscope -bqR<CR>
|
nmap <buffer> <LocalLeader>cu :AsyncDo cscope -bqR<CR>
|
||||||
|
|
Loading…
Reference in a new issue