dotfiles/nvim/ftdetect/dotfiles.vim

11 lines
298 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-02-14 22:20:46 +00:00
autocmd BufNewFile,BufRead *.newlisp setf newlisp
2022-01-18 09:06:39 +00:00
augroup END