1 # This recipe checks whether the runtime files use "unix" or "dos" fileformat.
2 # Then it includes either getdos.aap or getunix.aap.
4 :recipe {fetch = ftp://ftp.vim.org/pub/vim/runtime/main.aap}
8 @ f = open("filetype.vim", "rb")
14 @ if _no.OSTYPE == "mswin" or _no.OSTYPE == "msdos" or _no.OSTYPE == "os2" or _no.OSTYPE == "ce":
16 :print Cannot read "filetype.vim", guessing fileformat is "dos".
18 :print Cannot read "filetype.vim", guessing fileformat is "unix".
21 :include getdos.aap {fetch = ftp://ftp.vim.org/pub/vim/runtime/getdos.aap}
23 :include getunix.aap {fetch = ftp://ftp.vim.org/pub/vim/runtime/getunix.aap}