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:
Sanchayan Maity 2020-09-22 12:56:42 +05:30
parent ff13f829e5
commit 78447af8df

View file

@ -3,6 +3,7 @@ setlocal foldmethod=syntax
" Scanning included files when ^n is troublesome
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>cu :AsyncDo cscope -bqR<CR>