" $VIMRUNTIME/filetype.vim sets did_load_filetypes = 1
" Do not run this if that has already run
if exists("did_load_local_filetypes") || exists("did_load_filetypes")
    finish
endif
let did_load_local_filetypes = 1


augroup localfiletypedetect

" maildropfilter
" from https://www.vim.org/scripts/script.php?script_id=5266
au BufNewFile,BufRead .mailfilter,*.drop,*.maildrop,*.maildropfilter setfiletype maildrop
"an 50.80.265 &Syntax.NO.Maildrop :cal SetSyn("maildrop")<CR>

" README
au BufNewFile,BufRead README        setf markdown

" zsh-theme
au BufNewFile,BufRead *.zsh-theme   setf zsh

" Make systemd recognize quadlet files (for podman)
au BufNewFile,BufRead */systemd/*.{container,network,kube,volume,pod} setf systemd

" end
augroup END