ftplugin/ directory contains vim scripts («plugins») that are specific to specific filetypes. foo) and :filetype plugin on was executed, it sources all files in this directory and its subdirectories whose file names match foo.vim or foo_*.vim.