mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
8 lines
197 B
VimL
8 lines
197 B
VimL
function! s:genSrcInfo()
|
|
:call system('rm -rf .SRCINFO; makepkg --printsrcinfo > .SRCINFO')
|
|
endfunction
|
|
|
|
augroup dotfilesftdetect
|
|
autocmd BufWritePost PKGBUILD :call s:genSrcInfo()
|
|
augroup END
|