Add filetype directives to the minimal-vim script.