2020-04-21 10:10:44 +02:00
|
|
|
" Scanning included files when ^n is troublesome
|
2020-05-09 15:36:25 +02:00
|
|
|
setlocal complete-=i
|
|
|
|
setlocal path+=/usr/include/**
|
2020-09-22 09:26:42 +02:00
|
|
|
setlocal makeprg=ninja\ -C\ build
|
2020-04-21 10:10:44 +02:00
|
|
|
|
2021-05-02 15:38:41 +02:00
|
|
|
" If we are working with any of the gstreamer projects in C, run gst-ident
|
|
|
|
" before saving. Assume gst-ident from gstreamer/tools/gst-indent has been
|
|
|
|
" made available in path.
|
|
|
|
"
|
|
|
|
" The '!' after autocmd is required without which, the command gets triggered
|
|
|
|
" multiple times. Basically, we clear the autocmd.
|
|
|
|
autocmd! BufWritePost */gst-*/*.c call c#format_with_gst_indent()
|
|
|
|
autocmd! BufWritePost */gstreamer-*/*.c call c#format_with_gst_indent()
|