move filetype settings to ftplugin