dotfiles/nvim/ftdetect/dotfiles.vim

10 lines
246 B
VimL
Raw Normal View History

2022-01-18 09:06:39 +00:00
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
2022-01-18 09:06:39 +00:00
augroup END