dotfiles/nvim/ftdetect/dotfiles.vim
2022-01-30 01:18:46 +01:00

9 lines
246 B
VimL

function! s:genSrcInfo()
:call system('rm -rf .SRCINFO; makepkg --printsrcinfo > .SRCINFO')
endfunction
augroup dotfilesftdetect
autocmd BufWritePost PKGBUILD :call s:genSrcInfo()
autocmd BufNewFile,BufRead *.dream setf dream
augroup END