dotfiles/nvim/ftdetect/dotfiles.vim
2022-02-14 23:20:46 +01:00

10 lines
298 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
autocmd BufNewFile,BufRead *.newlisp setf newlisp
augroup END